Repository navigation
v0.1.2
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.1.2.
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
- b2b3a3d feat(docker): the image of the repository can be run too
Bug Fixes
- 2304ead fix(ci): build the image that the release publishes
- 504d07a fix(deps): a library in a folder with a space is refused, not a parse error
- 05ce5ac fix(deps): a line the tool does not understand is an error, not a lost library
- 44a4b1f fix(deps): a path with a space is refused only where it reaches a Dockerfile line
- 400fed7 fix(deps): the warning says why the library needs the cache
- 8be1744 fix(release): the latest tag moves when the release is published