diff --git a/Dockerfile b/Dockerfile index d1be34a..e894cd3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ ARG PROXY # ENV https_proxy=${PROXY} # ENV http_proxy=${PROXY} -# 安装基础工具 +# 安装基础工具与配置文件 RUN export http_proxy=$http_proxy && \ export https_proxy=$https_proxy && \ apt-get update && \ @@ -30,6 +30,7 @@ RUN export http_proxy=$http_proxy && \ # 安装 node 环境 RUN export http_proxy=$http_proxy && \ export https_proxy=$https_proxy && \ + echo "185.199.110.133 raw.githubusercontent.com" >> /etc/hosts && \ # 安装 brew curl -ofsSL install.sh https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash && \ # 安装 n node 管理器