Open jat-canonical opened 11 months ago
Follow up: I added a response in https://github.com/canonical/craft-providers/issues/508
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2554.
This message was autogenerated
What needs to get done
Since snap builds only require a linux system container (LXD Container), could we look into making use of a remote LXD instance and relying on locally configured
lxc
configuration to reach out to the LXD instance to build snaps?Why it needs to get done
I use a mac for my local development and run a remote lxd instance which can be reached using
lxc
to interact with the instance. Currently snapcraft looks for a local installation of lxd which is not possible on a mac. My current workaround is to to have dedicated linux vm for building snaps, have my local directory mounted in the vm and always login to the instance first to start building the snap. This might prove useful for any user not running linux as a daily driver host os but trying to develop snaps.