Merge pull request #167 from gemfield/master

Fix Docker timezone issue, and also expose RTP port
This commit is contained in:
夏楚 2019-12-12 23:02:59 +08:00 committed by GitHub
commit 89b8d461db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,22 @@
FROM ubuntu:16.04 FROM ubuntu:16.04
#shell,rtmp,rtsp,rtsps,http,https #shell,rtmp,rtsp,rtsps,http,https,rtp
EXPOSE 9000/tcp EXPOSE 9000/tcp
EXPOSE 1935/tcp EXPOSE 1935/tcp
EXPOSE 554/tcp EXPOSE 554/tcp
EXPOSE 322/tcp EXPOSE 322/tcp
EXPOSE 80/tcp EXPOSE 80/tcp
EXPOSE 443/tcp EXPOSE 443/tcp
EXPOSE 10000/udp
EXPOSE 10000/tcp
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \ build-essential \
cmake \ cmake \
git \ git \
curl \ curl \
vim \
ca-certificates \ ca-certificates \
tzdata \
libssl-dev \ libssl-dev \
libmysqlclient-dev \ libmysqlclient-dev \
libx264-dev \ libx264-dev \