mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Auto create package by github actions. v4.0.191
This commit is contained in:
parent
ab5079909d
commit
eb20458d23
4 changed files with 47 additions and 6 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