How to compile using a local image

I have a local copy of a .img file. How can I use my local copy without downloading it from the internet? The file is: https://cloud-images.ubuntu.com/buildd/daily/focal/20240219/focal-server-cloudimg-amd64-disk1.img

Snapcraft doesn’t allow you to provide your image, but an alternative is to launch a container from that image and build with snapcraft --destructive-mode.

1 Like