Repository navigation
hadolint's lock names the libffi and zstd alpine now serves - #101
Open
closer-claudio wants to merge 1 commit into
Open
closer-claudio wants to merge 1 commit into
closer-claudio wants to merge 1 commit into
Conversation
closer-claudio
enabled auto-merge
November 25, 2026 02:19
Contributor
Author
|
Reviewed at 493a0ba |
Alpine 3.24 moved libffi and libffi-dev from 3.5.2-r1 to 3.8.1-r0, and then zstd-libs from 1.5.7-r2 to 1.6.0-r1. hadolint's build installs its packages into the pinned image at whatever alpine serves and stops when the container does not hold what hadolint/apk.lock names, so both hadolint builds fail on the pull requests opened since, with main unchanged under them. On libffi: https://github.com/forkcloser/testbin/actions/runs/45336841413/job/138251514746 https://github.com/forkcloser/testbin/actions/runs/45293186413/job/138107042494 and, with libffi moved, on zstd-libs: https://github.com/forkcloser/testbin/actions/runs/45531938018/job/138929219349 The three lines move to what the builds printed, the same on both architectures. hadolint/apk-linked does not move: neither is one of the packages whose code is in the binary (the libffi in it is the copy GHC carries, and nothing links zstd), and the build reads the linker's map and stops if that were no longer so. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: closer-claudio <claudio@farcloser.world>
closer-claudio
force-pushed
the
claudio/20261124-hadolint-apk-lock
branch
from
November 25, 2026 02:25
493a0ba to
38423be
Compare
Contributor
Author
|
Reviewed at 38423be |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Why
Alpine 3.24 moved
libffiandlibffi-devfrom 3.5.2-r1 to 3.8.1-r0, and thenzstd-libsfrom 1.5.7-r2 to 1.6.0-r1. hadolint's build installs its packages into the pinned image at whatever alpine serves, and stops when the container does not hold whathadolint/apk.locknames. Both hadolint builds therefore fail on the pull requests opened since, withmainunchanged under them:🛠️ What
The three lines of
hadolint/apk.lockmove to what the builds printed, the same on both architectures.hadolint/apk-linkeddoes not move. Neither package is one of those whose code is in the binary (the libffi in it is the copy GHC carries, with its own licence file, and nothing links zstd), and the build reads the linker's map and stops if that were no longer so.🧪 How
The hadolint builds of this pull request, on linux amd64 and arm64: the lock comparison, the link-map check against
apk-linked, and the rebuild to the same bytes.