This repository was archived by the owner on Dec 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu20.04 as base
66ARG tensorflow_pip_spec="tf-nightly"
77ARG local_tensorflow_pip_spec=""
88ARG extra_pip_specs=""
9- ENV PIP_CMD="python3.11 -m pip"
9+ ENV PIP_CMD="python3.9 -m pip"
1010
1111# setup.py passes the base path of local .whl file is chosen for the docker image.
1212# Otherwise passes an empty existing file from the context.
@@ -40,19 +40,19 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
4040 lsb-core \
4141 curl
4242
43- # Python 3.11 related deps in this ppa.
43+ # Python 3.9 related deps in this ppa.
4444RUN add-apt-repository ppa:deadsnakes/ppa
4545
4646
4747# Install / update Python and Python3
4848RUN apt-get install -y --no-install-recommends \
49- python3.11 \
49+ python3.9 \
5050 python3-pip \
51- python3.11 -dev \
51+ python3.9 -dev \
5252 python3-setuptools \
53- python3.11 -venv \
54- python3.11 -distutils \
55- python3.11 -lib2to3
53+ python3.9 -venv \
54+ python3.9 -distutils \
55+ python3.9 -lib2to3
5656
5757# Upgrade pip, need to use pip3 and then pip after this or an error
5858# is thrown for no main found.
You can’t perform that action at this time.
0 commit comments