Skip to content

Commit

Permalink
Merge pull request #24 from gravitational/fred/switch-images-to-distr…
Browse files Browse the repository at this point in the history
…oless

Fred/switch images to distroless
  • Loading branch information
fheinecke authored Mar 8, 2024
2 parents 4f16c22 + dbf1980 commit 04c574c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
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 04c574c

Please sign in to comment.