Squash: Support RPM. Fix bugs.

This commit is contained in:
winlin
2021-11-04 07:37:17 +08:00
parent a01354a595
commit 523b055c06
22 changed files with 397 additions and 23 deletions

16
trunk/Dockerfile.pkg Normal file
View File

@@ -0,0 +1,16 @@
FROM ossrs/srs:dev
# version=4.0.145
ARG version
# Install depends tools.
RUN yum install -y zip
# Setup the packager env.
ENV SRS_AUTO_PACKAGER ossrs
# Build and install SRS.
ADD srs-server-${version}.tar.gz /srs
WORKDIR /srs/srs-server-${version}/trunk
RUN ./scripts/package.sh --x86-x64 --jobs=2