Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dashaun/spring-boot-native-pi

Spring Boot + Spring Native example for Raspberry Pi ARM64
https://github.com/dashaun/spring-boot-native-pi

arm64 raspberry-pi spring-boot spring-native

Last synced: about 2 months ago
JSON representation

Spring Boot + Spring Native example for Raspberry Pi ARM64

Awesome Lists containing this project

README

        

# Spring Boot + Spring Native

## Raspberry Pi ARM64

Points to an example cloud native buildpack, for ARM64, that was built based on:
https://github.com/dmikusa-pivotal/paketo-arm64

### Background

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.

### Getting Started

- Clone the repo.
- Make sure that Java is installed, I've tested with Java 17

### Generate Native ARM64
```shell
./mvnw -Pnative-arm64 spring-boot:build-image -DskipTests
```

### Generate Native AMD64
```shell
./mvnw -Pnative-amd64 spring-boot:build-image -DskipTests
```

### Generate image AMD64
```shell
./mvnw spring-boot:build-image -DskipTests
```

Once complete, you should have a new image "spring-pi:0.0.1-SNAPSHOT" in your local registry.

### Feedback Welcome!