2
0

Dockerfile.test 296 B

123456789101112131415
  1. FROM ossrs/srs:dev-gcc7
  2. # Install depends tools.
  3. RUN yum install -y gcc make gcc-c++ patch unzip perl git
  4. # Build and install SRS.
  5. COPY . /st
  6. WORKDIR /st
  7. # Note that we must enable the gcc7 or link failed.
  8. RUN scl enable devtoolset-7 -- make linux-debug-utest
  9. # Run utest
  10. RUN ./obj/st_utest