I just updated our build agent (based on docker) from ubuntu:bionic to ubuntu:focal.
I am installing snapcraft via a
RUN apt-get install -y --no-install-recommends snapcraft to be able to upload snaps via build pipeline. Since update to focal, the installation stops with following error:
... Selecting previously unselected package snapcraft. (Reading database ... 29548 files and directories currently installed.) Preparing to unpack .../000-snapcraft_3.0ubuntu1.1_all.deb ... => Installing the Snapcraft snap ==> Checking connectivity with the snap store ===> Unable to contact the store, trying every minute for the next 30 minutes
- Is it possible to install snapcraft on ubuntu:focal docker container?
- Is there an alternative? I just need to
snapcraft releasewithin my container.