Bug 1622282 - extract gnome-3-28-1804 platform snap to be used in the cleanup part r=jlorenzo

Differential Revision: https://phabricator.services.mozilla.com/D67629

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Ken VanDine 2020-03-30 10:21:03 +00:00
parent 866ea7e844
commit f377d047a2

View File

@ -42,6 +42,12 @@ RUN curl -L $(curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/sna
RUN mkdir -p /snap/core18
RUN unsquashfs -d /snap/core18/current core18.snap
# Grab the gnome-3-28-1804 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/gnome-3-28-1804' | jq '.download_url' -r) --output gnome-3-28-1804.snap
RUN mkdir -p /snap/gnome-3-28-1804
RUN unsquashfs -d /snap/gnome-3-28-1804/current gnome-3-28-1804.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 && \