mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
282 B
Docker
14 lines
282 B
Docker
4 years ago
|
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
|