Using docker for clean builds of classic snaps

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Feb 2 20:18:55 UTC 2017


On 02/02/17 14:40, Jamie Bennett wrote:
> We have this page that explains how to build using Docker containers (the url name is wrong but the contents are right).
>
>   * https://snapcraft.io/docs/build-snaps/trusty

Hi Jamie -- thanks for the pointer.  Unfortunately it doesn't work with classic 
snaps :-(

$ sudo docker run -v $PWD:$PWD -w $PWD snapcore/snapcraft snapcraft
Unable to find image 'snapcore/snapcraft:latest' locally
latest: Pulling from snapcore/snapcraft
2f0243478e1f: Pull complete
d8909ae88469: Pull complete
820f09abed29: Pull complete
01193a8f3d88: Pull complete
22802091ea0e: Pull complete
Digest: sha256:a1c3ddcfd7d8af5a9ad5762f3d014389ef6db718a848ce59c5add791b65036a4
Status: Downloaded newer image for snapcore/snapcraft:latest
Issues while validating snapcraft.yaml: The 'confinement' property does not 
match the required schema: 'classic' is not one of ['devmode', 'strict']






More information about the Snapcraft mailing list