Skip to content

Commit 028f646

Browse files
authored
chore: Use latest ubi image tag (#506)
#### Motivation #### Modifications #### Result Signed-off-by: Spolti <[email protected]>
1 parent 331a89d commit 028f646

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
5151
###############################################################################
5252
# Stage 2: Copy build assets to create the smallest final runtime image
5353
###############################################################################
54-
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9 AS runtime
54+
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest AS runtime
5555

5656
ARG USER=2000
5757
ARG IMAGE_VERSION

Dockerfile.develop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
###############################################################################
2424

2525
# TODO: replace the "go_toolset" build stage once ubi8/go-toolset:1.21 is available
26-
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9 as go-toolset
26+
# the go-toolset 1.21 is based on ubi9, we need to update it in the base image as well.
27+
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest as go-toolset
2728

2829
# https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope
2930
# We need TARGETOS and TARGETARCH (not BUILDOS and BUILDARCH) since the developer

0 commit comments

Comments
 (0)