-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
84 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,74 @@ | ||
######################################################## | ||
FROM ossrs/srs:dev AS centos7-baseline | ||
FROM ossrs/srs:dev-cache AS centos7-baseline | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off && make -j2 | ||
|
||
FROM ossrs/srs:dev AS centos7-no-webrtc | ||
FROM ossrs/srs:dev-cache AS centos7-no-webrtc | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off --rtc=off && make -j2 | ||
|
||
FROM ossrs/srs:dev AS centos7-no-asm | ||
FROM ossrs/srs:dev-cache AS centos7-no-asm | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off --nasm=off --srtp-nasm=off && make -j2 | ||
|
||
FROM ossrs/srs:dev AS centos7-srt | ||
FROM ossrs/srs:dev-cache AS centos7-srt | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=on && make -j2 | ||
|
||
FROM ossrs/srs:dev AS centos7-ansi-no-ffmpeg | ||
FROM ossrs/srs:dev-cache AS centos7-ansi-no-ffmpeg | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off --cxx11=off --cxx14=off --ffmpeg-fit=off && make -j2 | ||
|
||
######################################################## | ||
FROM ossrs/srs:dev6 AS centos6-baseline | ||
FROM ossrs/srs:dev6-cache AS centos6-baseline | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off --cxx11=off --cxx14=off && make -j2 | ||
|
||
FROM ossrs/srs:dev6 AS centos6-srt | ||
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 | ||
|
||
######################################################## | ||
FROM ossrs/srs:dev8 AS centos8-baseline | ||
FROM ossrs/srs:ubuntu16-cache AS ubuntu16-baseline | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off && make -j2 | ||
|
||
FROM ossrs/srs:dev8 AS centos8-srt | ||
FROM ossrs/srs:ubuntu16-cache AS ubuntu16-srt | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=on && make -j2 | ||
|
||
######################################################## | ||
FROM ossrs/srs:ubuntu16 AS ubuntu16-baseline | ||
FROM ossrs/srs:ubuntu18-cache AS ubuntu18-baseline | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off && make -j2 | ||
|
||
FROM ossrs/srs:ubuntu16 AS ubuntu16-srt | ||
FROM ossrs/srs:ubuntu18-cache AS ubuntu18-srt | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=on && make -j2 | ||
|
||
######################################################## | ||
FROM ossrs/srs:ubuntu18 AS ubuntu18-baseline | ||
FROM ossrs/srs:ubuntu20-cache AS ubuntu20-baseline | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off && make -j2 | ||
|
||
FROM ossrs/srs:ubuntu18 AS ubuntu18-srt | ||
FROM ossrs/srs:ubuntu20-cache AS ubuntu20-srt | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=on && make -j2 | ||
|
||
######################################################## | ||
FROM ossrs/srs:ubuntu20 AS ubuntu20-baseline | ||
FROM ossrs/srs:ubuntu16-cross-arm AS ubuntu16-cross-armv7 | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off && make -j2 | ||
|
||
FROM ossrs/srs:ubuntu20 AS ubuntu20-srt | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=on && make -j2 | ||
|
||
######################################################## | ||
FROM ossrs/srs:ubuntu16 AS ubuntu16-cross-armv7 | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off --cross-build --cc=arm-linux-gnueabihf-gcc --cxx=arm-linux-gnueabihf-g++ \ | ||
--ar=arm-linux-gnueabihf-ar --ld=arm-linux-gnueabihf-ld --randlib=arm-linux-gnueabihf-randlib && make -j2 | ||
RUN cd /srs/trunk && ./configure --jobs=2 --cross-build --cross-prefix=arm-linux-gnueabihf- && make -j2 | ||
|
||
FROM ossrs/srs:ubuntu16 AS ubuntu16-cross-aarch64 | ||
FROM ossrs/srs:ubuntu16-cross-aarch64 AS ubuntu16-cross-aarch64 | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off --cross-build --cc=aarch64-linux-gnu-gcc --cxx=aarch64-linux-gnu-g++ \ | ||
--ar=aarch64-linux-gnu-ar --ld=aarch64-linux-gnu-ld --randlib=aarch64-linux-gnu-randlib && make -j2 | ||
RUN cd /srs/trunk && ./configure --jobs=2 --cross-build --cross-prefix=aarch64-linux-gnu- && make -j2 | ||
|
||
######################################################## | ||
FROM ossrs/srs:ubuntu20 AS ubuntu20-cross-armv7 | ||
FROM ossrs/srs:ubuntu20-cross-arm AS ubuntu20-cross-armv7 | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off --cross-build --cc=arm-linux-gnueabihf-gcc --cxx=arm-linux-gnueabihf-g++ \ | ||
--ar=arm-linux-gnueabihf-ar --ld=arm-linux-gnueabihf-ld --randlib=arm-linux-gnueabihf-randlib && make -j2 | ||
RUN cd /srs/trunk && ./configure --jobs=2 --cross-build --cross-prefix=arm-linux-gnueabihf- && make -j2 | ||
|
||
FROM ossrs/srs:ubuntu20 AS ubuntu20-cross-aarch64 | ||
FROM ossrs/srs:ubuntu20-cross-aarch64 AS ubuntu20-cross-aarch64 | ||
COPY . /srs | ||
RUN cd /srs/trunk && ./configure --jobs=2 --srt=off --cross-build --cc=aarch64-linux-gnu-gcc --cxx=aarch64-linux-gnu-g++ \ | ||
--ar=aarch64-linux-gnu-ar --ld=aarch64-linux-gnu-ld --randlib=aarch64-linux-gnu-randlib && make -j2 | ||
RUN cd /srs/trunk && ./configure --jobs=2 --cross-build --cross-prefix=aarch64-linux-gnu- && make -j2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters