Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package go1.16-devel-container for 
openSUSE:Factory checked in at 2021-03-28 11:54:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/go1.16-devel-container (Old)
 and      /work/SRC/openSUSE:Factory/.go1.16-devel-container.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "go1.16-devel-container"

Sun Mar 28 11:54:34 2021 rev:3 rq:881323 version:unknown

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/go1.16-devel-container/go1.16-devel-container.changes
    2021-03-24 16:17:03.100197103 +0100
+++ 
/work/SRC/openSUSE:Factory/.go1.16-devel-container.new.2401/go1.16-devel-container.changes
  2021-03-28 11:56:30.856232028 +0200
@@ -1,0 +2,7 @@
+Thu Mar 25 13:49:02 UTC 2021 - Dirk M??ller <[email protected]>
+
+- avoid using entrypoint in development build containers
+- reduce unnecessary layers
+- create and set a GOPATH 
+
+-------------------------------------------------------------------
@@ -14,0 +22,11 @@
+
+-------------------------------------------------------------------
+Tue Mar 23 14:59:34 UTC 2021 - Dirk M??ller <[email protected]>
+
+- Include Frederics fix as well 
+
+------------------------------------------------------------------
+Mon Mar 22 13:28:11 UTC 2021 - Frederic Crozat <[email protected]>
+
+- Allow to override base container and release package using
+  Docker arguments.

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

Other differences:
------------------
++++++ Dockerfile ++++++
--- /var/tmp/diff_new_pack.p7X0lZ/_old  2021-03-28 11:56:31.384232497 +0200
+++ /var/tmp/diff_new_pack.p7X0lZ/_new  2021-03-28 11:56:31.384232497 +0200
@@ -3,7 +3,8 @@
 #!BuildTag: opensuse/golang:%%PKG_VERSION%%
 #!BuildTag: opensuse/golang:%%PKG_VERSION%%.%RELEASE%
 
-FROM opensuse/tumbleweed
+ARG BASE=opensuse/tumbleweed
+FROM $BASE
 
 # labelprefix=org.opensuse.golang
 PREFIXEDLABEL org.opencontainers.image.title="Go 1.16 development container"
@@ -13,10 +14,15 @@
 PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
 PREFIXEDLABEL 
org.opensuse.reference="registry.opensuse.org/opensuse/golang:%%PKG_VERSION%%.%RELEASE%"
 
-# Work around https://github.com/openSUSE/obs-build/issues/487
-RUN zypper install -y openSUSE-release-appliance-docker
+ENV GOLANG_VERSION %%PKG_VERSION%%
+ENV GOPATH /go
+ENV PATH $GOPATH/bin:$PATH
 
-# Development packages
-RUN zypper install -y --no-recommends go1.16 git-core
+# Work around https://github.com/openSUSE/obs-build/issues/487
+ARG RELEASE_PACKAGE=openSUSE-release-appliance-docker
+RUN zypper install -y --no-recommends $RELEASE_PACKAGE go1.16 git-core && \
+    zypper clean && \
+    mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
 
-ENTRYPOINT [ "/bin/bash" ]
+WORKDIR $GOPATH
+CMD [ "/bin/bash" ]

Reply via email to