1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refine Dockerfile

This commit is contained in:
winlin 2021-08-15 11:48:25 +08:00
parent 7efae1b1d6
commit d08f8fab8c
6 changed files with 139 additions and 1 deletions

13
trunk/Dockerfile.test Normal file
View file

@ -0,0 +1,13 @@
FROM ossrs/srs:dev
# Install depends tools.
RUN yum install -y gcc make gcc-c++ patch unzip perl git
# Build and install SRS.
COPY . /trunk
WORKDIR /trunk
RUN ./configure --srt=on --utest=on --jobs=2 && make -j2
RUN cd 3rdparty/srs-bench && make
# Run utest
RUN ./objs/srs_utest