diff --git a/Dockerfile b/Dockerfile index 76d6788..cf41106 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ RUN export http_proxy=${PROXY} && \ (echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /root/.bashrc && \ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && \ apt-get update && \ - apt-get install build-essential && \ + apt-get install -y build-essential && \ # 安装 n node 管理器 brew install n && \ # 安装最新版本 node @@ -47,15 +47,15 @@ RUN export http_proxy=${PROXY} && \ RUN export http_proxy=${PROXY} && \ export https_proxy=${PROXY} && \ apt update && \ - apt install software-properties-common && \ + apt install -y software-properties-common && \ add-apt-repository ppa:deadsnakes/ppa && \ - apt install python3.8 + apt install -y python3.8 # 安装 docker 环境 RUN export http_proxy=${PROXY} && \ export https_proxy=${PROXY} && \ apt update && \ - apt install docker.io + apt install -y docker.io # 配置 ssh RUN rm -f /etc/ssh/ssh_host_rsa_key && \