# Install snapcraft from git in an LXD container (lxc launch ubuntu:x)
apt install python3-setuptools
apt install python3-jsonschema
apt install python3-progressbar
apt install python3-magic
apt install python3-libarchive-c
apt install python3-tabulate
apt install python3-pymacaroons
apt install python3-simplejson
apt install python3-requests-toolbelt
apt install python3-docopt
apt install python3-petname
git clone https://github.com/snapcore/snapcraft.git
cd snapcraft/
python3 setup.py build
python3 setup.py install
$ snapcraft init
$ snapcraft
Issues while validating snapcraft.yaml: snapcraft validation file is missing from installation path
$