diff --git a/Dockerfile b/Dockerfile index 8cc16f3d..062f5e4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ COPY internal/ internal/ # by leaving it empty we can ensure that the container and binary shipped on it will have the same platform. RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/main.go -FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:6907fbacb294ab6ba988f8bcc6bd5127f589966e5808fcb454de3e104983ae5b +FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:d85040b6e3ed3628a89683f51a38c709185efc3fb552db2ad1b9180f2a6c38be WORKDIR / COPY --from=builder /workspace/manager . USER 65532:65532 diff --git a/Dockerfile.rhtas-operator.rh b/Dockerfile.rhtas-operator.rh index d8b7b9c8..3816ad75 100644 --- a/Dockerfile.rhtas-operator.rh +++ b/Dockerfile.rhtas-operator.rh @@ -24,7 +24,7 @@ COPY internal/ internal/ RUN go mod download && \ CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -mod=readonly -a -o manager cmd/main.go -FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:ba0d97dd43fea58f9bdcc4488c60a3869827e1e30a51c11bbfae3fb7dc91e6f5 +FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:8b6978d555746877c73f52375f60fd7b6fd27d6aca000eaed27d0995303c13de WORKDIR / COPY --from=builder /workspace/manager . USER 65532:65532