Skip to content

Commit

Permalink
Update to UBI9
Browse files Browse the repository at this point in the history
Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>
  • Loading branch information
dhaiducek committed May 28, 2024
1 parent 46165f5 commit 3d15369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY . .
RUN make build

# Stage 2: Copy the binaries from the image builder to the base image
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest

ENV COMPONENT=governance-policy-framework-addon
ENV REPO_PATH=/go/src/github.com/open-cluster-management-io/${COMPONENT}
Expand All @@ -26,7 +26,7 @@ RUN /usr/local/bin/user_setup

ENTRYPOINT ["/usr/local/bin/entrypoint"]

RUN microdnf update && \
RUN microdnf update -y && \
microdnf clean all

USER ${USER_UID}

0 comments on commit 3d15369

Please sign in to comment.