Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 07:48
· 11 commits to main since this release

minimalizer lists the shared libraries a Linux binary needs and prints
the COPY --from statements that bring them into a FROM scratch image.
The statements are safe for kaniko: every library is resolved to the real
file behind its symlinks and copied to the path the dynamic loader
expects, so the image needs no symlinks at all.

The archives hold the binary for linux on amd64, arm64 and armv7, and the
same binary is published as the multi-arch image
ghcr.io/inful/minimalizer:0.2.0.

The tool has to run inside the build stage that holds the binaries, and
it only runs on Linux. See the README for the details.

Changelog

Features

  • 3a0e588 feat(cli): a pattern in the command line selects the binaries

Bug Fixes

  • 99b1e49 fix(cli): the pattern handles the files it names