ci(docker): align builder base image with node lts-bullseye-slim#2831
Closed
madhavilosetty-intel wants to merge 1 commit into
Closed
ci(docker): align builder base image with node lts-bullseye-slim#2831madhavilosetty-intel wants to merge 1 commit into
madhavilosetty-intel wants to merge 1 commit into
Conversation
The builder stage pinned node:25-bullseye-slim. Node 25 is an odd-numbered release that reached end-of-life on 2026-06-01 and no longer receives security patches, so the pinned digest was stale. The runtime stage installs Node via `apk add nodejs`, which on Alpine 3.24 resolves to 24.17.0 -- images were therefore compiled on one major and executed on another. Repin the builder to node:lts-bullseye-slim (currently Node 24, Active LTS through 2028-04-30).
There was a problem hiding this comment.
Pull request overview
This PR updates the Docker build builder stage base image to use the Node LTS Bullseye Slim image (pinned by digest), aiming to avoid building on an end-of-life Node major and to better align the build-time Node major with what the runtime image installs.
Changes:
- Repins the Dockerfile builder stage from
node:25-bullseye-slimtonode:lts-bullseye-slim(digest-pinned).
| # SPDX-License-Identifier: Apache-2.0 | ||
| #*********************************************************************/ | ||
| FROM node:25-bullseye-slim@sha256:7ec50c1867732dc73facf8b318e029764dab970271691b06cd6895975c1a038e as builder | ||
| FROM node:lts-bullseye-slim@sha256:aca89821b1f09df223227ff2abe075fc3161f05604d3b61309f46820a5938020 as builder |
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.
The builder stage pinned node:25-bullseye-slim. Node 25 is an odd-numbered release that reached end-of-life on 2026-06-01 and no longer receives security patches, so the pinned digest was stale.
The runtime stage installs Node via
apk add nodejs, which on Alpine 3.24 resolves to 24.17.0 -- images were therefore compiled on one major and executed on another. Repin the builder to node:lts-bullseye-slim (currently Node 24, Active LTS through 2028-04-30).PR Checklist
What are you changing?
Anything the reviewer should know when reviewing this PR?
If the there are associated PRs in other repositories, please link them here (i.e. device-management-toolkit/repo#365 )