From 6d8c25c027876e53cf1724712d388bfea074b7bc Mon Sep 17 00:00:00 2001 From: MohammadiIram Date: Thu, 10 Oct 2024 16:12:41 +0530 Subject: [PATCH] Review Dockerfile and RPM files for building odh-kf-notebook-controller in Konflux --- components/notebook-controller/Dockerfile.konflux | 2 +- components/odh-notebook-controller/Dockerfile.konflux | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/notebook-controller/Dockerfile.konflux b/components/notebook-controller/Dockerfile.konflux index fcda1eaab5e..a923fe63543 100644 --- a/components/notebook-controller/Dockerfile.konflux +++ b/components/notebook-controller/Dockerfile.konflux @@ -33,7 +33,7 @@ RUN CGO_ENABLED=1 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} GO111MODULE=on go #WORKDIR /workspace/odh-notebook-controller # Use ubi8/ubi-minimal as base image -FROM registry.access.redhat.com/ubi8/ubi-minimal:latest +FROM registry.redhat.io/ubi8/ubi-minimal@sha256:7583ca0ea52001562bd81a961da3f75222209e6192e4e413ee226cff97dbd48c ## Build args to be used at this step ARG CI_CONTAINER_VERSION diff --git a/components/odh-notebook-controller/Dockerfile.konflux b/components/odh-notebook-controller/Dockerfile.konflux index dd2aecaf9bf..6fcdddbed7a 100644 --- a/components/odh-notebook-controller/Dockerfile.konflux +++ b/components/odh-notebook-controller/Dockerfile.konflux @@ -34,7 +34,7 @@ user root RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -tags strictfipsruntime -a -mod=mod -o manager main.go # Use ubi8/ubi-minimal as base image -FROM registry.access.redhat.com/ubi8/ubi-minimal:latest +FROM registry.redhat.io/ubi8/ubi-minimal@sha256:7583ca0ea52001562bd81a961da3f75222209e6192e4e413ee226cff97dbd48c ## Build args to be used at this step ARG CI_CONTAINER_VERSION