Skip to content

v0.2.3

Latest

Choose a tag to compare

@github-actions github-actions released this 31 Oct 23:20

minimalizer lists the shared libraries a Linux binary needs and prints
the COPY --from statements that bring them into a FROM scratch image.
Every library is resolved to the real file behind its symlinks and copied
to the path the dynamic loader expects, so the image holds regular files
at the paths the loader looks for. No builder has to follow a symlink.

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.3.

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

Bug Fixes

  • a71b88e fix(cli): the folder that goes into the statement is the resolved one
  • 3f17007 fix(cli): the image needs the interpreter of a static PIE