Skip to content

Commit aca47fa

Browse files
committed
1
1 parent 138e4bf commit aca47fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

snapcraft-x64/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ RUN unsquashfs -d /snap/snapcraft/current snapcraft.snap
4242
# the snapcraft snap:
4343
RUN unlink /snap/snapcraft/current/usr/bin/python3
4444
RUN ls -la /snap/snapcraft/current/usr/bin/python3*
45-
RUN cd /snap/snapcraft/current/usr/bin && ln -s $(ls python3.* | head -1) python3
45+
RUN cd /snap/snapcraft/current/usr/bin && ln -s python3.12 python3
46+
RUN ls -la /snap/snapcraft/current/usr/bin/python3*
4647
RUN mkdir -p /snap/snapcraft/current/usr/lib/python3/dist-packages
4748
RUN echo /snap/snapcraft/current/lib/python3.*/site-packages >> /snap/snapcraft/current/usr/lib/python3/dist-packages/site-packages.pth
4849
RUN /snap/snapcraft/current/usr/bin/python3 /snap/snapcraft/current/usr/bin/pip3 install -U setuptools

0 commit comments

Comments
 (0)