commit 84d7f1b9f314df1ec60c29e96edb875654939eca005245735dc20bf6c44dab1e Author: Dan Čermák Date: Thu Apr 28 12:25:40 2022 +0000 Initial version of BCI based on Tumbleweed OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/openjdk-17-image?expand=0&rev=1 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..625a3c1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: MIT +#!BuildTag: bci/openjdk:17 +#!BuildTag: bci/openjdk:latest +#!BuildTag: bci/openjdk:17-%RELEASE% +FROM opensuse/tumbleweed:latest + +MAINTAINER SUSE LLC (https://www.suse.com/) + +# Define labels according to https://en.opensuse.org/Building_derived_containers +# labelprefix=com.suse.bci.openjdk +LABEL org.opencontainers.image.title="SLE BCI OpenJDK 17 Runtime Container Image" +LABEL org.opencontainers.image.description="Java 17 runtime based on the SLE Base Container Image." +LABEL org.opencontainers.image.version="17" +LABEL org.opencontainers.image.url="https://www.suse.com/products/server/" +LABEL org.opencontainers.image.created="%BUILDTIME%" +LABEL org.opencontainers.image.vendor="SUSE LLC" +LABEL org.opensuse.reference="registry.suse.com/bci/openjdk:17-%RELEASE%" +LABEL org.openbuildservice.disturl="%DISTURL%" +LABEL com.suse.supportlevel="techpreview" +LABEL com.suse.eula="sle-bci" +LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle" +LABEL com.suse.image-type="sle-bci" +LABEL com.suse.release-stage="beta" +# endlabelprefix + + +RUN set -euo pipefail && zypper -n in --no-recommends java-17-openjdk && zypper -n clean && rm -rf /var/log/* + +ENV JAVA_BINDIR="/usr/lib64/jvm/java/bin" +ENV JAVA_HOME="/usr/lib64/jvm/java" +ENV JAVA_ROOT="/usr/lib64/jvm/java" +ENV JAVA_VERSION="17" + + 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..52b4539 --- /dev/null +++ b/_service @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/openjdk-17-image.changes b/openjdk-17-image.changes new file mode 100644 index 0000000..473a0f4