Skip to content

Commit

Permalink
fix attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Mar 27, 2024
1 parent 8abcbc2 commit 5798a9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ COPY .mk/ .mk/

# Build
RUN GOARCH=$TARGETARCH make compile
# Prepare output dir
RUN mkdir -p output && chown 65532 output

# Create final image from ubi + built binary
FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi9/ubi:9.3
WORKDIR /
COPY --from=builder /opt/app-root/build .
RUN mkdir -p /output && chown 65532 /output
USER 65532:65532

ENTRYPOINT ["/network-observability-cli"]

0 comments on commit 5798a9f

Please sign in to comment.