mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
修复某些网络不好情况,基础镜像失败 (#1225)
Co-authored-by: monktan <monktan@tencent.com>
This commit is contained in:
parent
950d957c86
commit
f5bdd60d85
@ -4,14 +4,13 @@ ARG MODEL
|
||||
EXPOSE 9000/tcp
|
||||
EXPOSE 1935/tcp
|
||||
EXPOSE 554/tcp
|
||||
EXPOSE 322/tcp
|
||||
EXPOSE 80/tcp
|
||||
EXPOSE 443/tcp
|
||||
EXPOSE 10000/udp
|
||||
EXPOSE 10000/tcp
|
||||
EXPOSE 8000/udp
|
||||
|
||||
RUN apt-get update && \
|
||||
RUN apt-get update && apt-get dist-upgrade && \
|
||||
DEBIAN_FRONTEND="noninteractive" \
|
||||
apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
@ -49,7 +48,7 @@ RUN cmake -DCMAKE_BUILD_TYPE=${MODEL} -DENABLE_WEBRTC=true -DENABLE_TESTS=false
|
||||
FROM ubuntu:18.04
|
||||
ARG MODEL
|
||||
|
||||
RUN apt-get update && \
|
||||
RUN apt-get update && apt-get dist-upgrade && \
|
||||
DEBIAN_FRONTEND="noninteractive" \
|
||||
apt-get install -y --no-install-recommends \
|
||||
vim \
|
||||
|
Loading…
Reference in New Issue
Block a user