Skip to content

Commit

Permalink
updated ubi image for dockerfiles (#857)
Browse files Browse the repository at this point in the history
Signed-off-by: dislbenn <dbennett@redhat.com>
  • Loading branch information
dislbenn authored Jul 22, 2024
1 parent d4b35bb commit 05d490b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags "${LDFLAGS}" -o b

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
WORKDIR /app
COPY --from=builder /workspace/backplane-operator .
COPY --from=builder /workspace/pkg/templates pkg/templates
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.prow
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o backplane-operator main

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
WORKDIR /app
COPY --from=builder /workspace/backplane-operator .
COPY --from=builder /workspace/pkg/templates pkg/templates
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.rhtap
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -o backplane-operator main

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
WORKDIR /app
COPY --from=builder /workspace/backplane-operator .
COPY --from=builder /workspace/pkg/templates pkg/templates
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.test.prow
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY go.sum go.sum
RUN go install github.com/onsi/ginkgo/v2/ginkgo@latest
RUN ginkgo build test/function_tests/backplane_operator_install_test

FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest

ENV KUBECONFIG "/opt/.kube/config"
ENV RESOURCE_DIR "resources"
Expand Down

0 comments on commit 05d490b

Please sign in to comment.