mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
1. 修正dockerfile中的小bug
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user