1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/trunk/Dockerfile.cov

13 lines
364 B
Text
Raw Normal View History

2022-08-13 02:27:14 +00:00
FROM ossrs/srs:dev-gcc7-cache
2021-08-15 11:01:55 +00:00
# Install depends tools.
RUN yum install -y gcc make gcc-c++ patch unzip perl git
# Build and install SRS.
COPY . /srs
WORKDIR /srs/trunk
# Note that we must enable the gcc7 or link failed.
RUN scl enable devtoolset-7 -- ./configure --srt=on --gb28181=on --utest=on --gcov=on --jobs=2
2022-03-18 04:01:11 +00:00
RUN scl enable devtoolset-7 -- make -j2 utest