Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package go1.15-devel-container for openSUSE:Factory checked in at 2021-03-28 11:54:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go1.15-devel-container (Old) and /work/SRC/openSUSE:Factory/.go1.15-devel-container.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go1.15-devel-container" Sun Mar 28 11:54:36 2021 rev:3 rq:881330 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/go1.15-devel-container/go1.15-devel-container.changes 2021-03-24 16:16:13.980145552 +0100 +++ /work/SRC/openSUSE:Factory/.go1.15-devel-container.new.2401/go1.15-devel-container.changes 2021-03-28 11:56:31.792232857 +0200 @@ -1,0 +2,8 @@ +Thu Mar 25 13:49:02 UTC 2021 - Dirk M??ller <dmuel...@suse.com> + +- avoid using entrypoint in development build containers +- reduce unnecessary layers +- create and set a GOPATH +- Fix version number + +------------------------------------------------------------------- @@ -14,0 +23,11 @@ + +------------------------------------------------------------------- +Tue Mar 23 14:59:34 UTC 2021 - Dirk M??ller <dmuel...@suse.com> + +- Include Frederics fix as well + +------------------------------------------------------------------ +Mon Mar 22 13:28:11 UTC 2021 - Frederic Crozat <fcro...@suse.com> + +- Allow to override base container and release package using + Docker arguments. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Dockerfile ++++++ --- /var/tmp/diff_new_pack.o9jfve/_old 2021-03-28 11:56:32.328233333 +0200 +++ /var/tmp/diff_new_pack.o9jfve/_new 2021-03-28 11:56:32.332233336 +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.15 development container" @@ -13,10 +14,17 @@ PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%" PREFIXEDLABEL org.opensuse.reference="registry.opensuse.org/opensuse/golang:%%PKG_VERSION%%.%RELEASE%" +ENV GOLANG_VERSION %%PKG_VERSION%% +ENV GOPATH /go +ENV PATH $GOPATH/bin:$PATH + # 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 # Development packages -RUN zypper install -y --no-recommends go1.15 git-core +RUN zypper install -y --no-recommends $RELEASE_PACKAGE go1.15 git-core && \ + zypper clean && \ + mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" -ENTRYPOINT [ "/bin/bash" ] +WORKDIR $GOPATH +CMD [ "/bin/bash" ]