Skip to content

Commit bd8bd80

Browse files
committed
python 3.8 support
1 parent a1a32a5 commit bd8bd80

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

commons/Dockerfile.base.py38-cuda11.3

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,7 @@ RUN if [[ "${PYTHON_VERSION}" == "3.8" ]]; then \
199199
apt-get install -y python${PYTHON_VERSION}-distutils python-apt ; \
200200
fi
201201

202-
RUN rm /usr/bin/python /usr/bin/python3 && \
203-
ln -s /usr/bin/python3.8 /usr/bin/python3 && \
204-
update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \
202+
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \
205203
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 2
206204

207205
WORKDIR /tmp

0 commit comments

Comments
 (0)