File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ RUN apt-get install -y build-essential git valgrind
77RUN git clone -b 3.10 --depth 1 https://github.com/python/cpython.git /clones/cpython
88RUN apt-get install -y libbz2-dev libffi-dev libssl-dev zlib1g-dev liblzma-dev libsqlite3-dev libreadline-dev
99RUN 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
1213RUN 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
You can’t perform that action at this time.
0 commit comments