Repository navigation
v0.1.1
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.1.
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
- ec801aa feat(docker): the released image can be run, not only copied from
Bug Fixes
- fe62822 fix(ci): check the release config and build the image the tool describes
- 6c5bad6 fix(ci): no Go cache in the release workflow either
- 8a0f2bb fix(ci): the tidy check has to see a new go.sum, and the e2e uses the default tree
- 3f52707 fix(ci): turn the Go cache off, it is on by default
- 2cd5120 fix(cli): refuse a stage name Docker cannot use, and stop blaming the flag
- b28fd71 fix(deps): a runpath does not cover the libraries of a library
- 63d029e fix(deps): say that the stage has no loader for the architecture
- d71560c fix(deps): take the loader that matches the machine of the library
- 56ae779 fix(deps): the test must ask for a machine that has no loader
- cef934c fix(packaging): delete the leftovers of a killed run in every folder
- 611e153 fix(packaging): never overwrite the marker file next to the tree
- f1aa56a fix(packaging): refusing a foreign folder must not walk the whole machine
- 6d0d3c6 fix(release): the release header belongs under release, not changelog
- 30a9c1f fix(release): the release notes must name the image tag that exists