Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package java15-devel-container for 
openSUSE:Factory checked in at 2021-04-27 21:35:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/java15-devel-container (Old)
 and      /work/SRC/openSUSE:Factory/.java15-devel-container.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "java15-devel-container"

Tue Apr 27 21:35:23 2021 rev:4 rq:888817 version:unknown

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/java15-devel-container/java15-devel-container.changes
    2021-03-24 16:16:16.320148008 +0100
+++ 
/work/SRC/openSUSE:Factory/.java15-devel-container.new.12324/java15-devel-container.changes
 2021-04-27 21:35:55.560108610 +0200
@@ -2 +2,9 @@
-Wed Mar 24 12:19:36 UTC 2021 - Marco Varlese <[email protected]>
+Tue Apr 27 08:58:40 UTC 2021 - Dirk M??ller <[email protected]>
+
+- stop specifying an entrypoint, these aren't services
+- use single layer
+- zypper clean after install
+- provide JAVA_VERSION, JAVA_ROOT and JAVA_HOME env
+
+-------------------------------------------------------------------
+Wed Mar 24 12:21:53 UTC 2021 - Marco Varlese <[email protected]>
@@ -7 +15 @@
-Tue Mar 23 19:25:53 UTC 2021 - Marco Varlese <[email protected]>
+Tue Mar 23 19:28:04 UTC 2021 - Marco Varlese <[email protected]>
@@ -12 +20,7 @@
-Fri Mar 19 14:40:35 UTC 2021 - Marco Varlese <[email protected]>
+Mon Mar 22 13:28:11 UTC 2021 - Frederic Crozat <[email protected]>
+
+- Allow to override base container and release package using
+  Docker arguments.
+
+-------------------------------------------------------------------
+Fri Mar 19 14:41:07 UTC 2021 - Marco Varlese <[email protected]>

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ Dockerfile ++++++
--- /var/tmp/diff_new_pack.47eqcr/_old  2021-04-27 21:35:55.984109307 +0200
+++ /var/tmp/diff_new_pack.47eqcr/_new  2021-04-27 21:35:55.984109307 +0200
@@ -3,7 +3,8 @@
 #!BuildTag: opensuse/openjdk:%%PKG_VERSION%%
 #!BuildTag: opensuse/openjdk:%%PKG_VERSION%%.%RELEASE%
 
-FROM opensuse/tumbleweed
+ARG BASE=opensuse/tumbleweed
+FROM $BASE
 
 # labelprefix=org.opensuse.openjdk
 PREFIXEDLABEL org.opencontainers.image.title="Java 15 development container"
@@ -14,9 +15,17 @@
 PREFIXEDLABEL 
org.opensuse.reference="registry.opensuse.org/opensuse/openjdk:%%PKG_VERSION%%.%RELEASE%"
 
 # Work around https://github.com/openSUSE/obs-build/issues/487
-RUN zypper install -y openSUSE-release-appliance-docker
+ARG RELEASE_PACKAGE=openSUSE-release-appliance-docker
+
+ARG LIBDIR=/usr/lib64
+ENV JAVA_BINDIR=$LIBDIR/jvm/java/bin
+ENV JAVA_HOME=$LIBDIR/jvm/java
+ENV JAVA_ROOT=$LIBDIR/jvm/java
+ENV JAVA_VERSION=15
 
 # Development packages
-RUN zypper install -y --no-recommends java-15-openjdk-devel maven git-core
+RUN zypper -n install --no-recommends $RELEASE_PACKAGE \
+       java-15-openjdk-devel maven git-core && \
+       zypper clean -a
 
-ENTRYPOINT [ "/bin/bash" ]
+CMD [ "jshell" ]

Reply via email to