Sign inSign up

hiperium/native-image-builder

By hiperium

•Updated about 2 years ago

Build native Linux executables for ARM64 using GraalVM and Apache Maven for Spring Boot apps.

Image
Languages & frameworks
Developer tools
Operating systems
0

351

hiperium/native-image-builder repository overview

⁠Native Linux Executable Builder.

This Docker image builds a Native Linux Executable using the native-image tool from GraalVM. The built executable is intended to be used in ARM64 architecture over AWS.

⁠How to use it?

To build the image, you can run the following command:

docker build -t native-image-builder:1.0.0 .

⁠How do you test it using an interactive terminal?

To enter the running container, you must execute the following command to initialize an interactive terminal:

docker run -it --rm native-image-builder:1.0.0

There, you can execute the following command to check the native-image version:

mvn --version
java -version
native-image --version

After validations, you can exit the container by typing exit.

⁠How to extend it?

You can extend this image to include in your Dockerfile and build a native image from it:

FROM hiperium/native-image-builder:latest AS builder

Tag summary

Content type

Image

Digest

sha256:575a4cfff…

Size

841.8 MB

Last updated

about 2 years ago

docker pull hiperium/native-image-builder