From a857299f7b8d6dbc4a559b6572496d395ac5e6d6 Mon Sep 17 00:00:00 2001 From: Fred Heinecke Date: Fri, 8 Mar 2024 03:52:30 -0600 Subject: [PATCH 1/2] 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" ] From dbf1980529b3e92c870d6ca8f600ec0a5822da21 Mon Sep 17 00:00:00 2001 From: Fred Heinecke Date: Fri, 8 Mar 2024 04:04:56 -0600 Subject: [PATCH 2/2] Added changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 354246b..54f1a19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed +- Switched container image base to distroless ## [0.0.6] - 2024-03-08 ### Fixed