diff --git a/Dockerfile.image-service b/Dockerfile.image-service index 2a704bc2..900de33f 100644 --- a/Dockerfile.image-service +++ b/Dockerfile.image-service @@ -24,7 +24,7 @@ RUN cd /packages && ./build.sh # Used to build the service: -FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS golang +FROM registry.access.redhat.com/ubi9/go-toolset:9.7 AS golang USER 0 @@ -45,7 +45,7 @@ RUN ${HOME}/go/bin/go-licenses save --save_path /tmp/licenses ./... RUN cd /app && git rev-parse --short HEAD > /commit-reference.txt ## Runtime -FROM registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:6fc28bcb6776e387d7a35a2056d9d2b985dc4e26031e98a2bd35a7137cd6fd71 +FROM registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:759f5f42d9d6ce2a705e290b7fc549e2d2cd39312c4fa345f93c02e4abb8da95 ARG release=main ARG version=latest diff --git a/Dockerfile.image-service-build b/Dockerfile.image-service-build index f4edacd6..b13047cd 100644 --- a/Dockerfile.image-service-build +++ b/Dockerfile.image-service-build @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS golang +FROM registry.access.redhat.com/ubi9/go-toolset:9.7 AS golang ENV GOFLAGS="" diff --git a/Dockerfile.image-service-mce b/Dockerfile.image-service-mce index eeb6e85e..0ac6655c 100644 --- a/Dockerfile.image-service-mce +++ b/Dockerfile.image-service-mce @@ -24,7 +24,7 @@ RUN cd /packages && ./build.sh # Used to build the service: -FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:1.25 AS builder +FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:9.7 AS builder ARG TARGETOS ARG TARGETARCH @@ -44,7 +44,7 @@ WORKDIR /app RUN GO111MODULE=on GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -tags strictfipsruntime -o assisted-image-service main.go -FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:6fc28bcb6776e387d7a35a2056d9d2b985dc4e26031e98a2bd35a7137cd6fd71 +FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:759f5f42d9d6ce2a705e290b7fc549e2d2cd39312c4fa345f93c02e4abb8da95 ARG release=main ARG version=latest