1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-01 22:25:26 +02:00

packaging: fix build error for snap dockerfile

The Python installation fix in the Dockerfile is obsolete and now causes
the build to fail due to a reference to a directory that no longer
exists.

GitLab: #2019
Change-Id: I5cc9c8c26761e16af41616c02326a8522c00b10d
This commit is contained in:
François-Simon Fauteux-Chapleau 2025-05-16 11:53:55 -04:00 committed by Adrien Béraud
parent a967518d45
commit e9106b2bcc

View file

@ -36,12 +36,6 @@ RUN curl -L $(curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/sna
RUN mkdir -p /snap/snapcraft RUN mkdir -p /snap/snapcraft
RUN unsquashfs -d /snap/snapcraft/current snapcraft.snap RUN unsquashfs -d /snap/snapcraft/current snapcraft.snap
# Fix Python3 installation: Make sure we use the interpreter from
# the snapcraft snap:
RUN unlink /snap/snapcraft/current/usr/bin/python3
RUN ln -s /snap/snapcraft/current/usr/bin/python3.* /snap/snapcraft/current/usr/bin/python3
RUN echo /snap/snapcraft/current/lib/python3.*/site-packages >> /snap/snapcraft/current/usr/lib/python3/dist-packages/site-packages.pth
# Create a snapcraft runner # Create a snapcraft runner
RUN mkdir -p /snap/bin RUN mkdir -p /snap/bin
RUN echo "#!/bin/sh" > /snap/bin/snapcraft RUN echo "#!/bin/sh" > /snap/bin/snapcraft