2
0

Dockerfile.pkg 288 B

1234567891011121314
  1. FROM ossrs/srs:dev
  2. # version=4.0.145
  3. ARG version
  4. ARG SRS_AUTO_PACKAGER
  5. # Install depends tools.
  6. RUN yum install -y zip
  7. # Build and install SRS.
  8. ADD srs-server-${version}.tar.gz /srs
  9. WORKDIR /srs/srs-server-${version}/trunk
  10. RUN ./scripts/package.sh --x86-x64 --jobs=2 --tag=${version}