snapcraft in docker container fails

Alistair Grant akgrant0710 at gmail.com
Wed Mar 22 13:23:25 UTC 2017


Hi Marco,

On 22 March 2017 at 13:01, Marco Ceppi <marco.ceppi at canonical.com> wrote:
> Hi Alistair,
>
> We had a similar issue in our project, we found this:
>
> docker run -it -v $PWD:/root/snap -w /root/snap -e SNAPCRAFT_SETUP_CORE=1
> snapcraft/xenial-amd64 /bin/bash
>
> Where, when using that flag, the core snap will already be installed.

Thanks!  That allows me to build the snap package.

Now changing the confinement from devmode to classic breaks the
application - it's 32 bits and my guess is that it isn't able to load
for some reason.  But that's another problem.

Thanks again,
Alistair




More information about the Snapcraft mailing list