1818# !BuildTag: opensuse/bci/golang:%%golang_version%%-1.%RELEASE%
1919# !BuildTag: opensuse/bci/golang:%%golang_version%%
2020# !BuildTag: opensuse/bci/golang:stable
21- # !BuildTag: opensuse/bci/golang:1.25
21+ # !BuildTag: opensuse/bci/golang:1.26
2222# !BuildTag: opensuse/bci/golang:latest
2323
2424FROM opensuse/tumbleweed:latest
2525
2626RUN set -euo pipefail; \
27- zypper -n install --no-recommends go1.25 go1.25 -doc make curl findutils gawk git-core procps util-linux
27+ zypper -n install --no-recommends go1.26 go1.26 -doc make curl findutils gawk git-core procps util-linux
2828
2929# cleanup logs and temporary files
3030RUN set -euo pipefail; zypper -n clean -a; \
@@ -40,8 +40,8 @@ RUN set -euo pipefail; sed -i 's/^\([^:]*:[^:]*:\)[^:]*\(:.*\)$/\1\2/' /etc/shad
4040
4141# Define labels according to https://en.opensuse.org/Building_derived_containers
4242# labelprefix=org.opensuse.bci.golang
43- LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Go 1.25 development"
44- LABEL org.opencontainers.image.description="Go 1.25 development container based on the openSUSE Tumbleweed Base Container Image."
43+ LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Go 1.26 development"
44+ LABEL org.opencontainers.image.description="Go 1.26 development container based on the openSUSE Tumbleweed Base Container Image."
4545LABEL org.opencontainers.image.version="%%golang_version%%"
4646LABEL org.opencontainers.image.url="https://www.opensuse.org"
4747LABEL org.opencontainers.image.created="%BUILDTIME%"
@@ -61,7 +61,7 @@ ENV PATH="/go/bin:/usr/local/go/bin:/root/go/bin/:/usr/local/sbin:/usr/local/bin
6161
6262# only available on go's tsan_arch architectures
6363# !ArchExclusiveLine: x86_64 aarch64 s390x ppc64le
64- RUN set -euo pipefail; if zypper -n install go1.25 -race; then zypper -n clean -a; fi
64+ RUN set -euo pipefail; if zypper -n install go1.26 -race; then zypper -n clean -a; fi
6565WORKDIR /go
6666RUN set -euo pipefail; install -m 755 -d /go/bin /go/src
6767RUN set -euo pipefail; rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}; \
0 commit comments