Subtle differences of the build environment between multipass and build.snapcraft.io


#1

In local build the curl utility is available but after I pushed to GitHub the build.snapcraft.io build fails complaining that it is missing…

UPDATE: Also wget as well, don’t ask me why I use both at the same time. :wink:

Is there any way to fully imitate the same environment of build.snapcraft.io?


#2

Doing this at the moment involves a lot of setup and is unlikely to be worth it most of the time; we have some work in progress to make snapcraft and Launchpad snap builds use the same base images, which will address this.

In the meantime, of course, you can add curl to your build-packages.