From cba293d65c351479e02b06fd653a9cce0746ee0f26e902758574b60d4cbc4961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 6 Sep 2023 17:06:17 +0000 Subject: [PATCH] [info=032040288038a3b26b63a55529348657] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=24 --- Dockerfile | 6 +++++- golang-stable-image.changes | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) 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