snapcraft cleanbuild or
SNAPCRAFT_CONTAINER_BUILDS=1 snapcraft the LXD container uses default sources regardless of what’s setup on the host. Defaults can be painfully slow in some locations where a local mirror is required.
- Ideally snapcraft could be smart out of the box and figure out what’s being used on the system
- We probably also want a config option for this or an environment variable