From 1634f88b89486b2c6cbe98c14ff1338806e1439b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=20Wei=20=28=E4=BB=BB=E5=8D=AB=29?= Date: Thu, 27 May 2021 13:26:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E5=9F=BA=E7=A1=80=E9=95=9C?= =?UTF-8?q?=E5=83=8F=20(#3544)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ci_scripts/Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ci_scripts/Dockerfile b/ci_scripts/Dockerfile index e6ac056a0ec..e27c50784d1 100644 --- a/ci_scripts/Dockerfile +++ b/ci_scripts/Dockerfile @@ -1,12 +1,9 @@ -ARG BASEIMAGE=registry.baidubce.com/paddleopen/paddle:build-gpu-cuda10.2-cudnn8-devel-ubuntu18.04-gcc8 +ARG BASEIMAGE=registry.baidubce.com/paddleopen/paddle:build-gpu-cuda10.2-cudnn8-devel-ubuntu18.04-gcc8-py38 FROM ${BASEIMAGE} RUN git config --global user.name "PaddleCI" \ && git config --global user.email "paddle_ci@example.com" -RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10 \ - && update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10 - RUN apt-get update \ && apt-get install -yq --no-install-recommends \ wget \ @@ -15,7 +12,6 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # ci's requirements -RUN pip3 install --no-cache-dir -i https://mirror.baidu.com/pypi/simple setuptools RUN echo 'docutils\n\ scipy\n\ prettytable\n\ @@ -37,7 +33,7 @@ urllib3\n\ certifi\n\ chardet\n\ requests\n\ -decorator\n\ +decorator==4.4.2\n\ astor' >paddle.requirements && \ pip3 install --no-cache-dir -i https://mirror.baidu.com/pypi/simple -r paddle.requirements && \ rm paddle.requirements