Repository navigation
fix(frontend): pin the Node base image to 24-alpine - #126
Merged
Merged
Conversation
node:lts-alpine now resolves to Node 26. That image does not include yarn, so `RUN yarn install` failed with "yarn: not found" (exit 127). The "Frontend build identity" CI step failed on every PR, also on PRs that change only the backend. Both frontend Dockerfiles now use node:24-alpine. Node 24 is in LTS maintenance until April 2028, and its image includes yarn 1.22.22.
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.
Summary
node:lts-alpinenow resolves to Node 26. That image does not include yarn, so the frontend image build stops atRUN yarn install. The "Frontend build identity" step fails on all open PRs (#118–#125), also on backend-only bumps.Node 24 is in LTS maintenance until April 2028. Its image includes yarn 1.22.22.
Evidence
bash frontend/ci/bin/test-build-version-image.shon this branch:Merge Danger
Door: two-way
Revert the one-line change in each file.
Blast Radius: frontend-image
Only the build stage changes. The shipped nginx stage does not change. CI tests the frontend on the runner with
lts/*(Node 26), but the image builds with Node 24. Dependabot does not watch Docker images, so someone must move this pin manually.