diff --git a/build/Dockerfile b/build/Dockerfile index 21480732..66366c05 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,6 @@ -FROM quay.io/app-sre/boilerplate:image-v5.0.1 AS builder +FROM registry.access.redhat.com/ubi8/go-toolset:1.22.9 AS builder + +USER root RUN mkdir -p /workdir COPY . /workdir @@ -6,6 +8,7 @@ WORKDIR /workdir ENV FIPS_ENABLED=1 RUN make go-build +# This image has to match RHEL version from the CI or will cause some side-effects on glibc (and possibly others) FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10-1179 ENV OPERATOR=/usr/local/bin/deployment-validation-operator \