Fix Docker timezone issue, and also expose RTP port

This commit is contained in:
Gemfield 2019-12-12 20:07:21 +08:00
parent 2a518493d7
commit 0adfb3ec83

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 \