diff --git a/Dockerfile b/Dockerfile index 747f25e..f5315aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,8 +25,12 @@ LABEL org.opensuse.release-stage="released" # endlabelprefix -RUN set -euo pipefail; zypper -n in --no-recommends go1.21 go1.21-doc go1.21-race make git-core; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends go1.21 go1.21-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.21-race; then zypper -n clean; rm -rf /var/log/*; fi diff --git a/golang-stable-image.changes b/golang-stable-image.changes index 26a5d56..8ab2be0 100644 --- a/golang-stable-image.changes +++ b/golang-stable-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