Table of Contents
This is a Dockerfile
and a wrapper script called snapcraft-docker
which
helped me build my first snap.
Note
|
The code and instructions are provided as is. |
sudo docker pull snapcore/snapcraft
git clone https://github.com/uroesch/snapcraft-docker.git
cd snapcraft-docker
sudo docker build -t snapcore/snapcraft:custom .
Note
|
To make the container work for your environment you may need
to set the environment variable BUILD_USER_ID to your own UID
before running docker build . The default UID is 1000 .
|