Skip to content

Commit c872d71

Browse files
Create symlink for python3 to python
1 parent d561d66 commit c872d71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tooling/debug/Dockerfile.pandas-debug

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN apt-get install -y build-essential git valgrind
77
RUN git clone -b 3.10 --depth 1 https://github.com/python/cpython.git /clones/cpython
88
RUN apt-get install -y libbz2-dev libffi-dev libssl-dev zlib1g-dev liblzma-dev libsqlite3-dev libreadline-dev
99
RUN cd /clones/cpython && ./configure --with-pydebug && CFLAGS="-g3" make -s -j$(nproc) && make altinstall
10+
RUN ln -sf /usr/local/bin/python3.10 /usr/local/bin/python3
1011

1112
# gdb installation
1213
RUN apt-get install -y wget libgmp-dev
@@ -31,4 +32,4 @@ RUN python3 -m pip install \
3132
# with meson where only having a python3 executable and not python
3233
# would cause the build to fail. This symlink could be removed if
3334
# users stick to always calling python3 within the container
34-
RUN ln -s /usr/local/bin/python3 /usr/local/bin/python
35+
RUN ln -sf /usr/local/bin/python3 /usr/local/bin/python

0 commit comments

Comments
 (0)