From f5d4d57bd54699b8f0fe980c93ec5602cfa754e0395434202fb7d09e07a1b5d3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 22 Sep 2023 11:21:37 +0000 Subject: [PATCH] [info=20584bc31bf63f74c885cafb9e210aad] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/openjdk-21-image?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++++++ .gitignore | 1 + Dockerfile | 32 ++++++++++++++++++++++++++++++++ _constraints | 7 +++++++ _service | 4 ++++ openjdk-21-image.changes | 4 ++++ 6 files changed, 71 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 _constraints create mode 100644 _service create mode 100644 openjdk-21-image.changes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..64faec2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,32 @@ +#!ExclusiveArch: aarch64 x86_64 ppc64le s390x +# SPDX-License-Identifier: MIT +#!BuildTag: opensuse/bci/openjdk:21 +#!BuildTag: opensuse/bci/openjdk:21-%RELEASE% + +FROM opensuse/tumbleweed:latest + +MAINTAINER openSUSE (https://www.opensuse.org/) + +# Define labels according to https://en.opensuse.org/Building_derived_containers +# labelprefix=org.opensuse.bci.openjdk +LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI OpenJDK 21 runtime" +LABEL org.opencontainers.image.description="OpenJDK 21 runtime container based on the openSUSE Tumbleweed Base Container Image." +LABEL org.opencontainers.image.version="21" +LABEL org.opencontainers.image.url="https://www.opensuse.org" +LABEL org.opencontainers.image.created="%BUILDTIME%" +LABEL org.opencontainers.image.vendor="openSUSE Project" +LABEL org.opencontainers.image.source="%SOURCEURL%" +LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/openjdk:21-%RELEASE%" +LABEL org.openbuildservice.disturl="%DISTURL%" +LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime" +LABEL org.opensuse.release-stage="released" + +# endlabelprefix + +RUN set -euo pipefail; zypper -n in --no-recommends java-21-openjdk; zypper -n clean; rm -rf /var/log/* +ENV JAVA_BINDIR="/usr/lib64/jvm/java-21-openjdk-21/bin" +ENV JAVA_HOME="/usr/lib64/jvm/java-21-openjdk-21" +ENV JAVA_ROOT="/usr/lib64/jvm/java-21-openjdk-21" +ENV JAVA_VERSION="21" + +RUN set -euo pipefail; [ -d $JAVA_HOME ]; [ -d $JAVA_BINDIR ]; [ -f "$JAVA_BINDIR/java" ] && [ -x "$JAVA_BINDIR/java" ] diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..a6a4866 --- /dev/null +++ b/_constraints @@ -0,0 +1,7 @@ + + + + 6 + + + diff --git a/_service b/_service new file mode 100644 index 0000000..1652e46 --- /dev/null +++ b/_service @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/openjdk-21-image.changes b/openjdk-21-image.changes new file mode 100644 index 0000000..0176dff --- /dev/null +++ b/openjdk-21-image.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Sep 22 10:47:41 UTC 2023 - SUSE Update Bot + +- First version of the OpenJDK 21 runtime BCI