From c3f53625e3ea1c4e146ca4130f4b077ac3aaa2c5 Mon Sep 17 00:00:00 2001 From: mol Date: Sat, 24 Feb 2024 13:06:04 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index faa5105..8bfd42f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM codercom/code-server EXPOSE 8080 EXPOSE 22 -USER coder + USER root WORKDIR /home/coder @@ -64,8 +64,6 @@ RUN echo "安装 python 环境" && \ export http_proxy=${PROXY} && \ export https_proxy=${PROXY} && \ apt-get update && \ - # apt install -y software-properties-common && \ - # add-apt-repository -y ppa:deadsnakes/ppa && \ apt-get install -y python3 # python3.8-dev python3.8-venv python3-pip python3-wheel