Skip to content

Commit be24f1a

Browse files
committed
1
1 parent aca47fa commit be24f1a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

snapcraft-x64/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ 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 python3.12 python3
46-
RUN ls -la /snap/snapcraft/current/usr/bin/python3*
45+
RUN cd /snap/snapcraft/current/usr/bin && ln -s /snap/snapcraft/current/usr/bin/python3.12 python3
46+
RUN cd /snap/snapcraft/current/usr/bin && ln -s /snap/snapcraft/current/usr/bin/python3.12 python
47+
RUN ls -la /snap/snapcraft/current/usr/bin/python*
4748
RUN mkdir -p /snap/snapcraft/current/usr/lib/python3/dist-packages
4849
RUN echo /snap/snapcraft/current/lib/python3.*/site-packages >> /snap/snapcraft/current/usr/lib/python3/dist-packages/site-packages.pth
4950
RUN /snap/snapcraft/current/usr/bin/python3 /snap/snapcraft/current/usr/bin/pip3 install -U setuptools
51+
RUN python --version
5052

5153
# Create a snapcraft runner (TODO: move version detection to the core of
5254
# snapcraft).

0 commit comments

Comments
 (0)