From 6bc389daa75d27847cd520cce36ac5fedd7ca04f Mon Sep 17 00:00:00 2001 From: mol Date: Fri, 26 Jan 2024 05:08:34 +0000 Subject: [PATCH] feat: test --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9090f79..e614f3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,10 +46,9 @@ RUN export http_proxy=${PROXY} && \ # 安装 python 环境 RUN export http_proxy=${PROXY} && \ export https_proxy=${PROXY} && \ - apt update && \ - apt install -y software-properties-common && \ - add-apt-repository -y ppa:deadsnakes/ppa && \ - apt install -y python3.8 + apt-get update && \ + apt-get install --no-install-recommends -y python3.9 python3.9-dev python3.9-venv python3-pip python3-wheel build-essential && \ + apt-get clean # 安装 docker 环境 RUN export http_proxy=${PROXY} && \