From 86a422ba356e1d711f0ae078bdf4a6c33fab1a7a Mon Sep 17 00:00:00 2001 From: ayushsatyam146 Date: Fri, 3 Jan 2025 09:29:12 +0530 Subject: [PATCH] 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 --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9c0f6c1f4..bba4e43f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM registry.redhat.io/ubi8/go-toolset:1.21.13-1.1727869850 AS builder +FROM registry.redhat.io/ubi8/go-toolset:1.22.7-5 AS builder -ENV S2I_GIT_VERSION="1.4.1" \ +ENV S2I_GIT_VERSION="1.5.0" \ S2I_GIT_MAJOR="1" \ - S2I_GIT_MINOR="4" + S2I_GIT_MINOR="5" COPY . . @@ -32,4 +32,4 @@ LABEL \ io.k8s.display-name="Source-to-Image" \ io.openshift.tags="source-to-image,s2i" \ io.openshift.maintainer.product="OpenShift Container Platform" \ - io.openshift.maintainer.component="Source-to-Image" \ + io.openshift.maintainer.component="Source-to-Image" \ \ No newline at end of file