mirror of
https://github.com/ossrs/srs.git
synced 2025-11-23 19:34:05 +08:00
Squash: Support RPM. Fix bugs.
This commit is contained in:
16
trunk/Dockerfile.pkg
Normal file
16
trunk/Dockerfile.pkg
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user