Skip to content

Commit

Permalink
Merge pull request #80 from jpinsonneau/ubi9-minimal
Browse files Browse the repository at this point in the history
rollback to full ubi image
  • Loading branch information
jpinsonneau committed Aug 13, 2024
2 parents 5dd0071 + c086463 commit 77624ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ RUN GOARCH=$TARGETARCH make compile
RUN mkdir -p output

# Create final image from ubi + built binary
FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi9-minimal:9.4-1194
RUN microdnf update -y && microdnf install -y tar
FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi9/ubi:9.4
WORKDIR /
COPY --from=builder /opt/app-root/build .
COPY --from=builder --chown=65532:65532 /opt/app-root/output /output
Expand Down

0 comments on commit 77624ac

Please sign in to comment.