1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00

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 <asastyam@redhat.com>
This commit is contained in:
ayushsatyam146
2025-01-03 09:29:12 +05:30
parent 04d9ab0acf
commit 86a422ba35

View File

@@ -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" \