mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Squash: Support RPM. Fix bugs.
This commit is contained in:
parent
a01354a595
commit
523b055c06
22 changed files with 397 additions and 23 deletions
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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue