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.
16 lines
296 B
Docker
16 lines
296 B
Docker
FROM ossrs/srs:dev-gcc7
|
|
|
|
# Install depends tools.
|
|
RUN yum install -y gcc make gcc-c++ patch unzip perl git
|
|
|
|
# Build and install SRS.
|
|
COPY . /st
|
|
WORKDIR /st
|
|
|
|
# Note that we must enable the gcc7 or link failed.
|
|
RUN scl enable devtoolset-7 -- make linux-debug-utest
|
|
|
|
# Run utest
|
|
RUN ./obj/st_utest
|
|
|