Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7446da1 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

Merge branch '4383-snapcraft' into 'master'

Update docker file to use channel 5.x

See merge request e/tools/easy-installer!139
parents 68432f47 a8bc0f2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ RUN unsquashfs -d /snap/core18/current core18.snap

# Grab the snapcraft snap from the stable channel and unpack it in the proper
# place.
RUN curl -L $(curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/snapcraft?channel=stable' | jq '.download_url' -r) --output snapcraft.snap
RUN curl -L $(curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/snapcraft?channel=5.x/stable' | jq '.download_url' -r) --output snapcraft.snap
RUN mkdir -p /snap/snapcraft
RUN unsquashfs -d /snap/snapcraft/current snapcraft.snap