From a857299f7b8d6dbc4a559b6572496d395ac5e6d6 Mon Sep 17 00:00:00 2001 From: Fred Heinecke Date: Fri, 8 Mar 2024 03:52:30 -0600 Subject: [PATCH] Switched container image base to distroless --- Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Earthfile b/Earthfile index 7b94490..966fc37 100644 --- a/Earthfile +++ b/Earthfile @@ -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" ]