Skip to content

dashaun-com/com.dashaun.service.gateway

Repository files navigation

Contributors Forks Stargazers Issues License

Spring Cloud Gateway and GraalVM native image example

arm64-native | amd64-native

Prerequisites

  • Java 17 or above
  • GraalVM 22.3 or above

Quick Start

git clone https://github.com/dashaun/dev.dashaun.service.gateway
cd dev.dashaun.service.gateway
./gradlew bootRun

Build Native Image

./gradlew bootBuildImage

Native Image Test

Uses Testcontainers to build a native image with GraalVM, and run tests against it.

./gradlew integrationTest

Multi-architecture buildpack

This repository uses dashaun/java-native-builder-multiarch:7.4.1 which allows you to create native images for both AMD64 and ARM64 architectures. I'm trying to take the ARM64 support upstream to Paketo, so any feedback you have from using this buildpack, with this project or any other is greatly appreciated!

See Also

Contributing

Release

  • git tag v#.#.#
  • git push origin v#.#.#

Pull-requests are welcomed!

License

Distributed under the Apache License, Version 2.0. See LICENSE for more information.