forked from pool/golang-stable-image
[info=032040288038a3b26b63a55529348657]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=24
This commit is contained in:
parent
32d9101e55
commit
cba293d65c
@ -25,8 +25,12 @@ LABEL org.opensuse.release-stage="released"
|
|||||||
|
|
||||||
# endlabelprefix
|
# 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 GOLANG_VERSION="%%golang_version%%"
|
||||||
ENV GOPATH="/go"
|
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"
|
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
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 6 16:26:08 UTC 2023 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- install the race subpackage only on architectures where it is available
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 17 13:41:09 UTC 2023 - Dirk Mueller <dmueller@suse.com>
|
Thu Aug 17 13:41:09 UTC 2023 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user