Snapcraft/AWS ARM64 Build

An Amazon AWS EC2 instance may be used to build ARM64 snaps.

  1. Launch an Amazon EC2 Ubuntu 18.04 ARM64 instance.
  2. Update the instance:
        sudo apt update
        sudo apt upgrade -y
  3. Configure the build environment:
        sudo apt install build-essential -y
        export SNAPCRAFT_BUILD_ENVIRONMENT=host
  4. Follow the Ubuntu: Create your first snap tutorial to create and run your first snap.

References

edit