From 1b32c196a5b5ea372ddae8797fbf6ede8f3bd60f Mon Sep 17 00:00:00 2001 From: ngfchl Date: Thu, 8 Sep 2022 12:47:55 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E6=AD=A3dockerfile=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E5=B0=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8853fa0..9737b10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,10 +38,7 @@ ADD ./start.sh /var/www/html RUN chmod +x /var/www/html/start.sh # 更换USTC源,并安装gcc,git -RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && - apt update && - yes|apt install gcc git && - apt-get autoclean +RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && apt update && yes|apt install gcc git && apt-get autoclean VOLUME ["/var/www/html/ptools"]