Skip to content

Commit

Permalink
use opt instead of tmp as install dir
Browse files Browse the repository at this point in the history
  • Loading branch information
wushaobo committed Jul 18, 2017
1 parent 344a88b commit fc5d557
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8

RUN wget -q https://github.com/ossrs/srs/archive/v2.0-r2.zip -P /tmp/ && \
cd /tmp && \
RUN wget -q https://github.com/ossrs/srs/archive/v2.0-r2.zip -P /opt/ && \
cd /opt && \
unzip v2.0-r2.zip && \
rm -f v2.0-r2.zip

Expand All @@ -24,7 +24,7 @@ EXPOSE 8080
# for nginx gzip module
RUN apt-get install zlib1g-dev

RUN cd /tmp/srs-2.0-r2/trunk && \
RUN cd /opt/srs-2.0-r2/trunk && \
./configure --with-hls --with-dvr --with-nginx --with-transcode --with-ingest --with-stat --with-http-callback --with-http-server --with-http-api --log-trace \
--without-hds --without-ssl --without-ffmpeg --without-stream-caster --without-librtmp --without-research --without-utest --without-gperf --without-gmc --without-gmp --without-gcp --without-gprof --without-arm-ubuntu12 --without-mips-ubuntu12 \
--jobs=4 --x86-x64 --log-trace && \
Expand Down

0 comments on commit fc5d557

Please sign in to comment.