Commit f5bdd60d by 夏楚 Committed by GitHub

修复某些网络不好情况,基础镜像失败 (#1225)

Co-authored-by: monktan <monktan@tencent.com>
parent 950d957c
...@@ -4,14 +4,13 @@ ARG MODEL ...@@ -4,14 +4,13 @@ ARG MODEL
EXPOSE 9000/tcp EXPOSE 9000/tcp
EXPOSE 1935/tcp EXPOSE 1935/tcp
EXPOSE 554/tcp EXPOSE 554/tcp
EXPOSE 322/tcp
EXPOSE 80/tcp EXPOSE 80/tcp
EXPOSE 443/tcp EXPOSE 443/tcp
EXPOSE 10000/udp EXPOSE 10000/udp
EXPOSE 10000/tcp EXPOSE 10000/tcp
EXPOSE 8000/udp EXPOSE 8000/udp
RUN apt-get update && \ RUN apt-get update && apt-get dist-upgrade && \
DEBIAN_FRONTEND="noninteractive" \ DEBIAN_FRONTEND="noninteractive" \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
build-essential \ build-essential \
...@@ -49,7 +48,7 @@ RUN cmake -DCMAKE_BUILD_TYPE=${MODEL} -DENABLE_WEBRTC=true -DENABLE_TESTS=false ...@@ -49,7 +48,7 @@ RUN cmake -DCMAKE_BUILD_TYPE=${MODEL} -DENABLE_WEBRTC=true -DENABLE_TESTS=false
FROM ubuntu:18.04 FROM ubuntu:18.04
ARG MODEL ARG MODEL
RUN apt-get update && \ RUN apt-get update && apt-get dist-upgrade && \
DEBIAN_FRONTEND="noninteractive" \ DEBIAN_FRONTEND="noninteractive" \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
vim \ vim \
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论