1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Docker: Support x86_64, armv7 and aarch64 docker image (#3058). v5.0.29

This commit is contained in:
winlin 2022-06-15 19:32:31 +08:00
parent d525d27e64
commit f568e4f91d
6 changed files with 68 additions and 55 deletions

View file

@ -14,9 +14,10 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y gcc make g++ patch unzip perl git
# Build and install SRS.
# Note that SRT is enabled by default, so we configure without --srt=on.
COPY . /srs
WORKDIR /srs/trunk
RUN ./configure --srt=on --jobs=${JOBS} && make -j${JOBS} && make install
RUN ./configure --jobs=${JOBS} && make -j${JOBS} && make install
# All config files for SRS.
RUN cp -R conf /usr/local/srs/conf && \