mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
288 B
Docker
15 lines
288 B
Docker
FROM ossrs/srs:dev
|
|
|
|
# version=4.0.145
|
|
ARG version
|
|
ARG SRS_AUTO_PACKAGER
|
|
|
|
# Install depends tools.
|
|
RUN yum install -y zip
|
|
|
|
# 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 --tag=${version}
|
|
|