Skip to content

Commit

Permalink
Switched container image base to distroless
Browse files Browse the repository at this point in the history
  • Loading branch information
fheinecke committed Mar 8, 2024
1 parent 4f16c22 commit a857299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ container-image:
END

# Do the actual build
FROM --platform="linux/$TARGETARCH" scratch
FROM --platform="linux/$TARGETARCH" gcr.io/distroless/static-debian12
COPY (+binary/* --GOOS="linux" --GOARCH="$TARGETARCH") /
# Unfortunately arg expansion is not supported here, see https://github.com/earthly/earthly/issues/1846
ENTRYPOINT [ "/gha-exporter" ]
Expand Down

0 comments on commit a857299

Please sign in to comment.