From 2314b3aba861c51add1fe816964545aea164076d Mon Sep 17 00:00:00 2001 From: Nadezhda Fedorova Date: Wed, 26 Jun 2024 18:00:14 +0300 Subject: [PATCH] add openjdk --- org/alt/openjdk21/Dockerfile.template | 14 ++++++++++++++ org/alt/openjdk21/test | 1 + 2 files changed, 15 insertions(+) create mode 100644 org/alt/openjdk21/Dockerfile.template create mode 100644 org/alt/openjdk21/test diff --git a/org/alt/openjdk21/Dockerfile.template b/org/alt/openjdk21/Dockerfile.template new file mode 100644 index 0000000..467dca7 --- /dev/null +++ b/org/alt/openjdk21/Dockerfile.template @@ -0,0 +1,14 @@ +FROM {{ registry }}{{ organization }}/buildpack-deps:{{ branch }} + +MAINTAINER alt-cloud + +LABEL org.opencontainers.image.title="openjdk21" +LABEL org.opencontainers.image.description="OpenJDK 21 Runtime Environment" +LABEL org.opencontainers.image.source="https://openjdk-sources.osci.io" +LABEL org.opencontainers.image.licenses="Apache-1.1 and Apache-2.0 and BSD and BSD with advertising and GPL-2.0 and GPL-2.0 with exceptions and IJG and LGPL-2.0+ and MIT and MPL-2.0 and ALT-Public-Domain and W3C and Zlib and ISC and FTL and RSA-MD" +LABEL org.opencontainers.image.vendor="ALT Linux Team" + +{{ install_packages( + "java-21-openjdk", + "java-21-openjdk-devel" +) }} diff --git a/org/alt/openjdk21/test b/org/alt/openjdk21/test new file mode 100644 index 0000000..5edbd95 --- /dev/null +++ b/org/alt/openjdk21/test @@ -0,0 +1 @@ +javac --version && java --version