fix(wab): bump the Dockerfile bubblewrap pin to ~=0.12 - #510
Merged
Conversation
Alpine's index now ships bubblewrap 0.12.0, so `~=0.11` (>=0.11 <0.12) is unsatisfiable and every deploy fails at the Docker build. All bwrap flags the loader sandbox uses are present in 0.12.
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.
Every deploy from
mastercurrently fails at the Docker build:The base image
node:24.16.0-alpineis pinned, but the Alpine package index itinstalls from is not. That index now ships
bubblewrap0.12.0, and~=0.11means>=0.11 <0.12, so the constraint can no longer be satisfied. Nothing in this repochanged — the upstream index moved. The last successful deploy was 26 Aug.
This bumps the pin to
~=0.12on both the builder and runner stages.bubblewrapprovides thebwrapsandbox that loader code execution runs inside, so itcannot simply be unpinned or removed. Checked against the real base image:
~=0.12installs, and all nine
bwrapflags the sandbox passes (--clearenv,--setenv,--unshare-user/-pid/-ipc/-uts/-cgroup,--ro-bind,--ro-bind-try) still exist in0.12.0.
This is a stopgap. The underlying problem is that a floating package index makes the
build non-reproducible, so this will recur on the next upstream bump — worth pinning the
Alpine repository or base image digest separately.