I’ve been following https://blog.ubuntu.com/2017/06/28/build-test-and-publish-snap-packages-using-snapcraft and https://circleci.com/docs/2.0/build-publish-snap-packages/ including some cross solutions but have not been able to make it work.
tried to ssh in but apart from realising that I am root and do not require the “sudo”, I have managed to apt install docker and snapd, but have been unable to launch “snap” for the installation of snapcraft, and also any possible docker commands
Edit: Included errors ourput from my job:
/bin/bash: snapcraft: command not found
Exited with code 127
Error output from SSH:
root@365c6f:~ apt install snapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
snapd is already the newest version (2.21-2+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@365c:6f~ snap install snapcraft
2018/08/30 12:47:29.86 main.go:220: WARNING: cannot create syslog logger
error: cannot communicate with server: Post http://localhost/v2/snaps/snapcraft: dial unix /run/snapd-snap.socket: connect: no such file or directory