Skip to content

Commit

Permalink
Merge pull request #1070 from nestoracunablanco/feat/validatorUbiMicro
Browse files Browse the repository at this point in the history
feat: update validator target to be based on ubi-micro
  • Loading branch information
kubevirt-bot authored Sep 11, 2024

Unverified

No user is associated with the committer email.
2 parents d6886c9 + 3854560 commit 09f5178
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions validator.Dockerfile
Original file line number Diff line number Diff line change
@@ -27,11 +27,9 @@ RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -ldflags="-X 'kubevirt.i
-X 'kubevirt.io/ssp-operator/internal/template-validator/version.BRANCH=$BRANCH'\
-X 'kubevirt.io/ssp-operator/internal/template-validator/version.REVISION=$REVISION'" -o kubevirt-template-validator internal/template-validator/main.go

FROM registry.access.redhat.com/ubi9/ubi-minimal
FROM registry.access.redhat.com/ubi9/ubi-micro
RUN mkdir -p /etc/webhook/certs

RUN microdnf update -y && microdnf clean all

WORKDIR /
COPY --from=builder /workspace/kubevirt-template-validator /usr/sbin/kubevirt-template-validator
USER 1000

0 comments on commit 09f5178

Please sign in to comment.