diff --git a/Dockerfile b/Dockerfile index 10131e4..2a60ca3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,8 +24,12 @@ LABEL org.opensuse.release-stage="released" # endlabelprefix -RUN set -euo pipefail; zypper -n in --no-recommends go1.20 go1.20-doc go1.20-race make git-core; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends go1.20 go1.20-doc make git-core; zypper -n clean; rm -rf /var/log/* ENV GOLANG_VERSION="%%golang_version%%" ENV GOPATH="/go" ENV PATH="/go/bin:/usr/local/go/bin:/root/go/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + +# only available on go's tsan_arch architectures +#!ArchExclusiveline x86_64 aarch64 s390x ppc64le +RUN set -euo pipefail; if zypper -n install go1.20-race; then zypper -n clean; rm -rf /var/log/*; fi diff --git a/golang-oldstable-image.changes b/golang-oldstable-image.changes index 632acdc..ce9055b 100644 --- a/golang-oldstable-image.changes +++ b/golang-oldstable-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 6 16:26:08 UTC 2023 - Dirk Mueller + +- install the race subpackage only on architectures where it is available + ------------------------------------------------------------------- Thu Aug 17 13:41:09 UTC 2023 - Dirk Mueller