Skip to content

Commit 86a422b

Browse files
BUILD-1165: Updating Dockerfile to us golang 1.22 image
Updating the Dockerfile to require golang 1.22. Changing the go runtime also requires a bump to the s2i minor version. Dockerfile has also been updated to use the "patch" version of the UBI base images. This ensures we have reproducible builds, since the "patch" tags from Red Hat are effectively immutable. Konflux should also provide updates to the patch version through Renovate. Signed-off-by: Ayush Satyam <[email protected]>
1 parent 04d9ab0 commit 86a422b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM registry.redhat.io/ubi8/go-toolset:1.21.13-1.1727869850 AS builder
1+
FROM registry.redhat.io/ubi8/go-toolset:1.22.7-5 AS builder
22

3-
ENV S2I_GIT_VERSION="1.4.1" \
3+
ENV S2I_GIT_VERSION="1.5.0" \
44
S2I_GIT_MAJOR="1" \
5-
S2I_GIT_MINOR="4"
5+
S2I_GIT_MINOR="5"
66

77
COPY . .
88

@@ -32,4 +32,4 @@ LABEL \
3232
io.k8s.display-name="Source-to-Image" \
3333
io.openshift.tags="source-to-image,s2i" \
3434
io.openshift.maintainer.product="OpenShift Container Platform" \
35-
io.openshift.maintainer.component="Source-to-Image" \
35+
io.openshift.maintainer.component="Source-to-Image" \

0 commit comments

Comments
 (0)