Skip to content
5 changes: 4 additions & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
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
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 \
Expand Down