Skip to content

Commit

Permalink
static link binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Mar 2, 2023
1 parent 966c91f commit 41415ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ COPY Makefile Makefile
COPY cmd/ cmd/
COPY pkg/ pkg/

RUN GOARCH=$TARGETARCH make build-backend
RUN CGO_ENABLED=0 GOARCH=$TARGETARCH make build-backend

FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi9/ubi-minimal:9.1

Expand Down

0 comments on commit 41415ed

Please sign in to comment.