snapcraft add nodejs and npm as build dependencies

When pulling the docker container snapcore/snapcraft
to build the snap, those 2 packages are not present
by default leading to a failure in the snap creation.

Note: it is good to call `apt-get update` before
`snapcraft` or the build will fail.
This commit is contained in:
Benjamin Tissoires 2019-01-18 11:41:32 +01:00
parent 8be7eec2ca
commit e91e3c076d

View file

@ -94,6 +94,8 @@ parts:
- capnproto - capnproto
- curl - curl
- execstack - execstack
- nodejs
- npm
stage-packages: stage-packages:
- libfontconfig1 - libfontconfig1
override-build: | override-build: |