IJI-1401 images for graalvm build/run/debug

GitOrigin-RevId: 3c36b600a93aa2083456ff90f0088ac7eb0347f8
This commit is contained in:
Ivan.Povetkin
2024-03-13 18:22:31 +01:00
committed by intellij-monorepo-bot
parent 3ac8e53d84
commit 23f293db06
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
ARG JAVA_VERSION=21
FROM --platform=${BUILDPLATFORM} ghcr.io/graalvm/native-image-community:${JAVA_VERSION}
RUN microdnf update -y oraclelinux-release-el9 \
&& microdnf --enablerepo ol9_codeready_builder install -y gdb-gdbserver gcc maven \
&& microdnf clean all

View File

@@ -0,0 +1,3 @@
build args:
- `JAVA_VERSION` used to specify supported java version (please consult https://github.com/graalvm/container/pkgs/container/native-image-community for right tags usage,
but consider that our image based on ol9)