更新 Dockerfile
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
mol
2024-02-24 13:06:04 +00:00
parent 5d2dec337f
commit c3f53625e3

View File

@ -2,7 +2,7 @@ FROM codercom/code-server
EXPOSE 8080 EXPOSE 8080
EXPOSE 22 EXPOSE 22
USER coder
USER root USER root
WORKDIR /home/coder WORKDIR /home/coder
@ -64,8 +64,6 @@ RUN echo "安装 python 环境" && \
export http_proxy=${PROXY} && \ export http_proxy=${PROXY} && \
export https_proxy=${PROXY} && \ export https_proxy=${PROXY} && \
apt-get update && \ apt-get update && \
# apt install -y software-properties-common && \
# add-apt-repository -y ppa:deadsnakes/ppa && \
apt-get install -y python3 apt-get install -y python3
# python3.8-dev python3.8-venv python3-pip python3-wheel # python3.8-dev python3.8-venv python3-pip python3-wheel