Skip to content

Commit 02aaaf9

Browse files
committed
Fix symlinks
1 parent 70597e8 commit 02aaaf9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/python/Dockerfile.python

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ RUN cd "/tmp" \
2727
&& make -j "$(nproc)" \
2828
&& make altinstall
2929

30-
RUN ln -s /usr/local/bin/python${PYTHON_VERSION} /usr/local/bin/python \
30+
RUN ln -s /usr/local/bin/python${PYTHON_VERSION} /usr/local/bin/python3 \
31+
&& ln -s /usr/local/bin/python3 /usr/local/bin/python \
3132
&& ln -s /usr/local/bin/pip${PYTHON_VERSION} /usr/local/bin/pip
3233

3334
# We create the virtual environment in the home directory in the Dockerfile

0 commit comments

Comments
 (0)