项目作者: GoodforGod

项目描述 :
Docker Image with Amazon Linux and GraalVM.
高级语言: Dockerfile
项目地址: git://github.com/GoodforGod/docker-amazonlinux-graalvm.git
创建时间: 2021-05-16T09:02:46Z
项目社区:https://github.com/GoodforGod/docker-amazonlinux-graalvm

开源协议:MIT License

下载


Docker Amazon Linux with GraalVM

Docker pulls
Docker Stars
Docker Automated build

Docker Image with Amazon Linux (amd64 and arm64v8) and GraalVM for building Java GraalVM compatible executables against Amazon Linux (like for AWS Lambda).

Image based on Amazon Linux 2 and Amazon Linux 2 ARM64v8.

Tags

Tag main name correspond to GraalVM release version

Check releases for corresponding versions or Docker Hub page.

GraalVM for Java 17

amd64 (x86-64 architecture)

  1. FROM goodforgod/amazonlinux-graalvm:23.0.0-java17
  1. FROM goodforgod/amazonlinux-graalvm:23.0.0-java17-amd64

arm64v8

  1. FROM goodforgod/amazonlinux-graalvm:23.0.0-java17-arm64v8

GraalVM for Java 20

amd64 (x86-64 architecture)

  1. FROM goodforgod/amazonlinux-graalvm:23.0.0-java20
  1. FROM goodforgod/amazonlinux-graalvm:23.0.0-java20-amd64

arm64v8

  1. FROM goodforgod/amazonlinux-graalvm:23.0.0-java20-arm64v8

Bundle

Image ships with:

  • Amazon Linux 2.0.20230612.0
  • JDK 17 (Corretto) or JDK 20 (Corretto)
  • Gradle 8.2.1
  • Maven 3.9.4
  • GraalVM native-image 23.0.0

GraalVM Native Image

GraalVM is on path, so you can use it directly, check AWS Lambda template for example.

  1. RUN native-image --no-fallback -classpath app.jar