1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00
srs/trunk/Dockerfile.test

14 lines
284 B
Text
Raw Normal View History

FROM ossrs/srs:dev
# Install depends tools.
RUN yum install -y gcc make gcc-c++ patch unzip perl git
# Build and install SRS.
2021-08-15 11:01:55 +00:00
COPY . /srs
WORKDIR /srs/trunk
RUN ./configure --srt=on --utest=on --jobs=2 && make -j2
RUN cd 3rdparty/srs-bench && make
# Run utest
RUN ./objs/srs_utest