1. 修正dockerfile中的小bug

This commit is contained in:
ngfchl
2022-09-08 12:47:55 +08:00
parent 85400a3fad
commit 1b32c196a5

View File

@@ -38,10 +38,7 @@ ADD ./start.sh /var/www/html
RUN chmod +x /var/www/html/start.sh
# 更换USTC源并安装gccgit
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"]