Sign inSign up

snapcore/snapcraft

By snapcore

•Updated over 5 years ago

Snapcraft is a delightful packaging tool

Image
12

100K+

snapcore/snapcraft repository overview

⁠Creating docker containers for snapcraft

By default the Dockerfile builds Ubuntu 16.04 (Xenial) image with snapcraft from the edge channel.

docker build . --no-cache

It is however possible to choose the base Ubuntu version and the Snapcraft channel (risk levels):

  • edge
  • beta
  • candidate
  • stable

To do that, use --build-arg RISK=<risk> and --build-arg UBUNTU=<name> arguments:

docker build . --no-cache --build-arg RISK=beta --build-arg UBUNTU=bionic

Tag summary

Content type

Image

Digest

Size

400.9 MB

Last updated

over 5 years ago

docker pull snapcore/snapcraft