Skip to content

Releases

v0.2.3

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

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 31 Oct 09:18

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

Bug Fixes

  • f6025df fix(cli): the message for a missing binary names both cases

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 30 Oct 08:10

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

Bug Fixes

  • 31ff6a0 fix(cli): the old --package FOLDER BINARY form is caught in any order

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 07:48

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

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 28 Oct 22:45

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

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

  • 695d24e fix(deps): the search paths and the marker of the tree
  • 9f50e1c fix(main): a stage name gets the message of the rule it breaks
  • 19d72cb fix(release): a prerelease does not move the latest tag, not by hand either

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 28 Oct 22:22

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

  • 63a5014 fix(deps): a path with a bracket is refused where it reaches a COPY line
  • 76df924 fix(release): the tags of the image move only when the release is published

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 28 Oct 22:03

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

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 28 Oct 19:08

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

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 15:32

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:v0.1.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

  • d3dbeb1 feat(package): a default tree, and the binaries keep their own path
  • 890607b feat(package): put the binary in the tree and allow more than one binary
  • baff217 feat(release): publish the container image to ghcr.io
  • c5e612b feat: add minimalizer, which lists the shared libraries a binary needs

Bug Fixes

  • c26f7d4 fix(lint): check the error from os.Chdir in the linux-only test
  • f2313b1 fix(package): one statement for the whole tree, so one Dockerfile builds every platform
  • 66a8bd6 fix(test): do not assume the test binary is static
  • a4790dc fix: refuse paths that break the Dockerfile lines, and fix the rest

Others

  • 2790a3f chore(ci): wire CI to inful/* conventions (lefthooks@v0.5.0, golangci-lint v2)
  • deb511b chore(release): add GoReleaser config for Linux binaries and draft releases
  • edf7fa5 chore(scaffolding): add LICENSE, .gitignore, .golangci.yml, and lefthook config