Skip to content

Commit

Permalink
add ubi dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-butler-irl committed Oct 18, 2023
1 parent 508038a commit 08a774a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Dockerfile.ubi
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
ARG BUILDER_IMAGE
ARG BASE_IMAGE

FROM ${BUILDER_IMAGE:-docker.io/stakater/reloader:v1.0.44} as SRC

FROM ${BASE_IMAGE:-registry.access.redhat.com/ubi8/ubi-minimal}

WORKDIR /
COPY --from=SRC /manager .

# Update image
RUN microdnf update

USER 65532:65532

# Port for metrics and probes
EXPOSE 9090

ENTRYPOINT ["/manager"]

0 comments on commit 08a774a

Please sign in to comment.