Snapcraft docker image including lxd

Using circleci a image providing snapcraft is used for builds. snapcore/snapcraft is not including lxd, is there a docker image containing snapcraft with lxd?

Does this even work? Why would you need lxd?

To link drivers into the snap build lxd was needed:

Using the docker image snapcore/snapcraft:stable should not give you such ABI issues.

1 Like

learning: when running snapcraft as a docker container itself, no lxd is required for snapping. the command snapcraft cleanbuild uses lxd to build in a container. when running snapcraft itself as a container no cleanbuild seems to be required.