From 5ed2a496f4ab9d2dadd76464c77c9fd6bc638fd0 Mon Sep 17 00:00:00 2001 From: John Pitman Date: Fri, 11 Aug 2023 14:50:46 -0400 Subject: [PATCH] Don't use variable to specify FROM image in Dockerfiles Signed-off-by: John Pitman --- Dockerfile | 3 +-- Dockerfile.ci | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 298658e878..7b2a02e174 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,3 @@ -ARG BASE_IMAGE=registry.access.redhat.com/ubi8/ubi-minimal:8.7-1085 ################################################################################################ # Builder image # Initial stage which pulls and prepares any required build dependencies for the whole monorepo @@ -28,7 +27,7 @@ RUN make build # GitOps Service image # Provides both the 'gitops-service-backend' and 'gitops-service-cluster-agent' components ################################################################################################ -FROM $BASE_IMAGE as gitops-service +FROM registry.access.redhat.com/ubi8/ubi-minimal:8.7-1085 as gitops-service # Install the 'shadow-utils' which contains `adduser` and `groupadd` binaries RUN microdnf install shadow-utils \ diff --git a/Dockerfile.ci b/Dockerfile.ci index 8630970ceb..77ef6f9cf2 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1,4 +1,3 @@ -ARG BASE_IMAGE=registry.access.redhat.com/ubi8/ubi-minimal:8.7-1085 ################################################################################################ # Builder image # Initial stage which pulls and prepares any required build dependencies for the whole monorepo @@ -28,7 +27,7 @@ RUN make build # GitOps Service image # Provides both the 'gitops-service-backend' and 'gitops-service-cluster-agent' components ################################################################################################ -FROM $BASE_IMAGE as gitops-service +FROM registry.access.redhat.com/ubi8/ubi-minimal:8.7-1085 as gitops-service # Install the 'shadow-utils' which contains `adduser` and `groupadd` binaries RUN yum install shadow-utils \