1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00
srs/trunk/Dockerfile.builds

75 lines
2.8 KiB
Text
Raw Normal View History

2021-08-15 13:51:50 +00:00
########################################################
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:dev-cache AS centos7-baseline
2021-08-15 13:51:50 +00:00
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off && make -j2
2021-08-15 13:51:50 +00:00
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:dev-cache AS centos7-no-webrtc
2021-08-15 13:51:50 +00:00
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off --rtc=off && make -j2
2021-08-15 13:51:50 +00:00
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:dev-cache AS centos7-no-asm
2021-08-15 13:51:50 +00:00
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off --nasm=off --srtp-nasm=off && make -j2
2021-08-15 13:51:50 +00:00
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:dev-cache AS centos7-srt
2021-08-15 13:51:50 +00:00
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=on && make -j2
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:dev-cache AS centos7-ansi-no-ffmpeg
2021-08-15 13:51:50 +00:00
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off --cxx11=off --cxx14=off --ffmpeg-fit=off && make -j2
2021-08-15 13:51:50 +00:00
2022-01-11 00:40:05 +00:00
########################################################
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:dev6-cache AS centos6-baseline
2022-01-11 00:40:05 +00:00
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off --cxx11=off --cxx14=off && make -j2
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:dev6-cache AS centos6-srt
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=on --cxx11=off --cxx14=off && make -j2
2022-01-11 00:40:05 +00:00
2021-08-15 13:51:50 +00:00
########################################################
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:ubuntu16-cache AS ubuntu16-baseline
2021-08-15 13:51:50 +00:00
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off && make -j2
2021-08-15 13:51:50 +00:00
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:ubuntu16-cache AS ubuntu16-srt
2021-08-15 13:51:50 +00:00
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=on && make -j2
########################################################
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:ubuntu18-cache AS ubuntu18-baseline
2021-08-15 13:51:50 +00:00
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off && make -j2
2021-08-15 13:51:50 +00:00
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:ubuntu18-cache AS ubuntu18-srt
2021-08-15 13:51:50 +00:00
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=on && make -j2
########################################################
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:ubuntu20-cache AS ubuntu20-baseline
2021-08-15 13:51:50 +00:00
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off && make -j2
2021-08-15 13:51:50 +00:00
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:ubuntu20-cache AS ubuntu20-srt
2021-08-15 13:51:50 +00:00
COPY . /srs
RUN cd /srs/trunk && ./configure --jobs=2 --srt=on && make -j2
########################################################
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:ubuntu16-cross-arm AS ubuntu16-cross-armv7
2021-08-15 13:51:50 +00:00
COPY . /srs
2022-08-13 02:27:14 +00:00
RUN cd /srs/trunk && ./configure --jobs=2 --cross-build --cross-prefix=arm-linux-gnueabihf- && make -j2
2021-08-15 13:51:50 +00:00
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:ubuntu16-cross-aarch64 AS ubuntu16-cross-aarch64
2021-08-15 13:51:50 +00:00
COPY . /srs
2022-08-13 02:27:14 +00:00
RUN cd /srs/trunk && ./configure --jobs=2 --cross-build --cross-prefix=aarch64-linux-gnu- && make -j2
2022-08-12 12:12:13 +00:00
########################################################
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:ubuntu20-cross-arm AS ubuntu20-cross-armv7
2022-08-12 12:12:13 +00:00
COPY . /srs
2022-08-13 02:27:14 +00:00
RUN cd /srs/trunk && ./configure --jobs=2 --cross-build --cross-prefix=arm-linux-gnueabihf- && make -j2
2022-08-12 12:12:13 +00:00
2022-08-13 02:27:14 +00:00
FROM ossrs/srs:ubuntu20-cross-aarch64 AS ubuntu20-cross-aarch64
2022-08-12 12:12:13 +00:00
COPY . /srs
2022-08-13 02:27:14 +00:00
RUN cd /srs/trunk && ./configure --jobs=2 --cross-build --cross-prefix=aarch64-linux-gnu- && make -j2