From ac684a8d6948c0a94fd373879bce116eaae7fd6c Mon Sep 17 00:00:00 2001 From: tangxifan Date: Fri, 4 Nov 2022 15:10:21 -0700 Subject: [PATCH] [ci] update docker python --- docker/Dockerfile.env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile.env b/docker/Dockerfile.env index 95af40363..cdca53f2c 100644 --- a/docker/Dockerfile.env +++ b/docker/Dockerfile.env @@ -8,7 +8,8 @@ RUN bash install_dependencies_run.sh RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py RUN python3.8 get-pip.py && rm get-pip.py RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 2 -RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1 +# Comment out this line since Ubuntu 20.04 does not support it +# RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1 ADD requirements.txt requirements.txt ENV PYTHON_EXEC=python3.8 RUN ${PYTHON_EXEC} -m pip install -r requirements.txt