File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,13 @@ RUN unsquashfs -d /snap/snapcraft/current snapcraft.snap
42
42
# the snapcraft snap:
43
43
RUN unlink /snap/snapcraft/current/usr/bin/python3
44
44
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*
47
48
RUN mkdir -p /snap/snapcraft/current/usr/lib/python3/dist-packages
48
49
RUN echo /snap/snapcraft/current/lib/python3.*/site-packages >> /snap/snapcraft/current/usr/lib/python3/dist-packages/site-packages.pth
49
50
RUN /snap/snapcraft/current/usr/bin/python3 /snap/snapcraft/current/usr/bin/pip3 install -U setuptools
51
+ RUN python --version
50
52
51
53
# Create a snapcraft runner (TODO: move version detection to the core of
52
54
# snapcraft).
You can’t perform that action at this time.
0 commit comments