diff --git a/Dockerfile b/Dockerfile index 1a9b5fde..8cc16f3d 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:c0e70387664f30cd9cf2795b547e4a9a51002c44a4a86aa9335ab030134bf392 +FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:6907fbacb294ab6ba988f8bcc6bd5127f589966e5808fcb454de3e104983ae5b WORKDIR / COPY --from=builder /workspace/manager . USER 65532:65532 diff --git a/Dockerfile.rhtas-operator.rh b/Dockerfile.rhtas-operator.rh index 64f8a502..d8b7b9c8 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:f5d2c6a1e0c86e4234ea601552dbabb4ced0e013a1efcbfb439f1f6a7a9275b0 +FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:ba0d97dd43fea58f9bdcc4488c60a3869827e1e30a51c11bbfae3fb7dc91e6f5 WORKDIR / COPY --from=builder /workspace/manager . USER 65532:65532