Skip to content

Commit dd7c50b

Browse files
authored
Merge pull request #3491 from SUSE/for-deploy-Tumbleweed
🤖: Update build recipes for Tumbleweed
2 parents 1157a41 + 12ea8f7 commit dd7c50b

8 files changed

Lines changed: 38 additions & 28 deletions

File tree

golang-oldstable-image/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
#!BuildTag: opensuse/bci/golang:%%golang_version%%-2.%RELEASE%
1919
#!BuildTag: opensuse/bci/golang:%%golang_version%%
2020
#!BuildTag: opensuse/bci/golang:oldstable
21-
#!BuildTag: opensuse/bci/golang:1.24
21+
#!BuildTag: opensuse/bci/golang:1.25
2222

2323
FROM opensuse/tumbleweed:latest
2424

2525
RUN set -euo pipefail; \
26-
zypper -n install --no-recommends go1.24 go1.24-doc make curl findutils gawk git-core procps util-linux
26+
zypper -n install --no-recommends go1.25 go1.25-doc make curl findutils gawk git-core procps util-linux
2727

2828
# cleanup logs and temporary files
2929
RUN set -euo pipefail; zypper -n clean -a; \
@@ -39,8 +39,8 @@ RUN set -euo pipefail; sed -i 's/^\([^:]*:[^:]*:\)[^:]*\(:.*\)$/\1\2/' /etc/shad
3939

4040
# Define labels according to https://en.opensuse.org/Building_derived_containers
4141
# labelprefix=org.opensuse.bci.golang
42-
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Go 1.24 development"
43-
LABEL org.opencontainers.image.description="Go 1.24 development container based on the openSUSE Tumbleweed Base Container Image."
42+
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Go 1.25 development"
43+
LABEL org.opencontainers.image.description="Go 1.25 development container based on the openSUSE Tumbleweed Base Container Image."
4444
LABEL org.opencontainers.image.version="%%golang_version%%"
4545
LABEL org.opencontainers.image.url="https://www.opensuse.org"
4646
LABEL org.opencontainers.image.created="%BUILDTIME%"
@@ -60,7 +60,7 @@ ENV PATH="/go/bin:/usr/local/go/bin:/root/go/bin/:/usr/local/sbin:/usr/local/bin
6060

6161
# only available on go's tsan_arch architectures
6262
#!ArchExclusiveLine: x86_64 aarch64 s390x ppc64le
63-
RUN set -euo pipefail; if zypper -n install go1.24-race; then zypper -n clean -a; fi
63+
RUN set -euo pipefail; if zypper -n install go1.25-race; then zypper -n clean -a; fi
6464
WORKDIR /go
6565
RUN set -euo pipefail; install -m 755 -d /go/bin /go/src
6666
RUN set -euo pipefail; rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}; \

golang-oldstable-image/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Go 1.24 development container image
1+
# Go 1.25 development container image
22

33
![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green)
44

@@ -33,8 +33,8 @@ the following Dockerfile options.
3333
### Building from `scratch`
3434

3535
```Dockerfile
36-
# Build the application using the Go 1.24 development container image
37-
FROM registry.opensuse.org/opensuse/bci/golang:1.24 as build
36+
# Build the application using the Go 1.25 development container image
37+
FROM registry.opensuse.org/opensuse/bci/golang:1.25 as build
3838

3939
WORKDIR /app
4040

@@ -72,13 +72,13 @@ There are situations when you don't want to run an application inside a containe
7272
To compile the application, without running it inside a container instance, use the following command:
7373

7474
```ShellSession
75-
$ podman run --rm -v "$PWD":/app:Z -w /app registry.opensuse.org/opensuse/bci/golang:1.24 go build -v
75+
$ podman run --rm -v "$PWD":/app:Z -w /app registry.opensuse.org/opensuse/bci/golang:1.25 go build -v
7676
```
7777

7878
To run the application tests inside a container, use the following command:
7979

8080
```ShellSession
81-
$ podman run --rm -v "$PWD":/app:Z -w /app registry.opensuse.org/opensuse/bci/golang:1.24 go test -v
81+
$ podman run --rm -v "$PWD":/app:Z -w /app registry.opensuse.org/opensuse/bci/golang:1.25 go test -v
8282
```
8383

8484

@@ -88,8 +88,8 @@ The [openSUSE BCI General Purpose Base Containers](https://opensource.suse.com/b
8888
images offer four different options for deployment, depending on your exact requirements.
8989

9090
```Dockerfile
91-
# Build the application using the Go 1.24 development Container Image
92-
FROM registry.opensuse.org/opensuse/bci/golang:1.24 as build
91+
# Build the application using the Go 1.25 development Container Image
92+
FROM registry.opensuse.org/opensuse/bci/golang:1.25 as build
9393

9494
WORKDIR /app
9595

@@ -121,7 +121,7 @@ for further details.
121121
In addition to the standard openSUSE BCI development packages, the following tools
122122
are included in the image:
123123

124-
- go1.24-race
124+
- go1.25-race
125125
- make
126126

127127
## Licensing

golang-oldstable-image/_service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<service mode="buildtime" name="replace_using_package_version">
55
<param name="file">Dockerfile</param>
66
<param name="regex">%%golang_version%%</param>
7-
<param name="package">go1.24</param>
7+
<param name="package">go1.25</param>
88
<param name="parse-version">patch</param>
99
</service>
1010
</services>

golang-oldstable-image/golang-oldstable-image.changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-------------------------------------------------------------------
2+
Fri Feb 27 20:22:39 UTC 2026 - SUSE Update Bot <bci-internal@suse.de>
3+
4+
- go 1.26 for stable, 1.25 for oldstable
5+
16
-------------------------------------------------------------------
27
Thu Feb 26 15:02:41 UTC 2026 - SUSE Update Bot <bci-internal@suse.de>
38

golang-stable-image/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
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

2424
FROM opensuse/tumbleweed:latest
2525

2626
RUN 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
3030
RUN 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."
4545
LABEL org.opencontainers.image.version="%%golang_version%%"
4646
LABEL org.opencontainers.image.url="https://www.opensuse.org"
4747
LABEL 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
6565
WORKDIR /go
6666
RUN set -euo pipefail; install -m 755 -d /go/bin /go/src
6767
RUN set -euo pipefail; rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}; \

golang-stable-image/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Go 1.25 development container image
1+
# Go 1.26 development container image
22

33
![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green)
44

@@ -33,8 +33,8 @@ the following Dockerfile options.
3333
### Building from `scratch`
3434

3535
```Dockerfile
36-
# Build the application using the Go 1.25 development container image
37-
FROM registry.opensuse.org/opensuse/bci/golang:1.25 as build
36+
# Build the application using the Go 1.26 development container image
37+
FROM registry.opensuse.org/opensuse/bci/golang:1.26 as build
3838

3939
WORKDIR /app
4040

@@ -72,13 +72,13 @@ There are situations when you don't want to run an application inside a containe
7272
To compile the application, without running it inside a container instance, use the following command:
7373

7474
```ShellSession
75-
$ podman run --rm -v "$PWD":/app:Z -w /app registry.opensuse.org/opensuse/bci/golang:1.25 go build -v
75+
$ podman run --rm -v "$PWD":/app:Z -w /app registry.opensuse.org/opensuse/bci/golang:1.26 go build -v
7676
```
7777

7878
To run the application tests inside a container, use the following command:
7979

8080
```ShellSession
81-
$ podman run --rm -v "$PWD":/app:Z -w /app registry.opensuse.org/opensuse/bci/golang:1.25 go test -v
81+
$ podman run --rm -v "$PWD":/app:Z -w /app registry.opensuse.org/opensuse/bci/golang:1.26 go test -v
8282
```
8383

8484

@@ -88,8 +88,8 @@ The [openSUSE BCI General Purpose Base Containers](https://opensource.suse.com/b
8888
images offer four different options for deployment, depending on your exact requirements.
8989

9090
```Dockerfile
91-
# Build the application using the Go 1.25 development Container Image
92-
FROM registry.opensuse.org/opensuse/bci/golang:1.25 as build
91+
# Build the application using the Go 1.26 development Container Image
92+
FROM registry.opensuse.org/opensuse/bci/golang:1.26 as build
9393

9494
WORKDIR /app
9595

@@ -121,7 +121,7 @@ for further details.
121121
In addition to the standard openSUSE BCI development packages, the following tools
122122
are included in the image:
123123

124-
- go1.25-race
124+
- go1.26-race
125125
- make
126126

127127
## Licensing

golang-stable-image/_service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<service mode="buildtime" name="replace_using_package_version">
55
<param name="file">Dockerfile</param>
66
<param name="regex">%%golang_version%%</param>
7-
<param name="package">go1.25</param>
7+
<param name="package">go1.26</param>
88
<param name="parse-version">patch</param>
99
</service>
1010
</services>

golang-stable-image/golang-stable-image.changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-------------------------------------------------------------------
2+
Fri Feb 27 20:22:39 UTC 2026 - SUSE Update Bot <bci-internal@suse.de>
3+
4+
- go 1.26 for stable, 1.25 for oldstable
5+
16
-------------------------------------------------------------------
27
Thu Feb 26 15:02:41 UTC 2026 - SUSE Update Bot <bci-internal@suse.de>
38

0 commit comments

Comments
 (0)