So far I have been able to build my snaps for different archs using this command:
docker run -v /tmp/snapData:/build -w /build snapcore/snapcraft:stable snapcraft --target-arch=arm64
After switching to core20, this error message appears:
–target-arch has been deprecated and is no longer supported on core20.
I could not find anything, how to create snaps based on core20 for different platforms. How can I do that?
Thank you ogra. After switching to newest version of snapcraft, I was able to create my snap via
snapcraft --enable-experimental-target-arch --target-arch=arm64
Unfortunately the docker images seems not to be updated any more. I build my own image with the Dockerfile on github and the following command: