Points to an example cloud native buildpack, for ARM64, that was built based on: https://github.com/dmikusa-pivotal/paketo-arm64
The docker images were all created using a Raspberry Pi 4.8gb.
The native image that I was able to create works (better than) as expected on a Raspberry Pi Zero 2W.
- Clone the repo.
- Make sure that Java is installed, I've tested with Java 17
./mvnw -Pnative-arm64 spring-boot:build-image -DskipTests
./mvnw -Pnative-amd64 spring-boot:build-image -DskipTests
./mvnw spring-boot:build-image -DskipTests
Once complete, you should have a new image "spring-pi:0.0.1-SNAPSHOT" in your local registry.