Skip to content

ci(docker): align builder base image with node lts-bullseye-slim#2831

Closed
madhavilosetty-intel wants to merge 1 commit into
mainfrom
ci/node-lts-base-image
Closed

ci(docker): align builder base image with node lts-bullseye-slim#2831
madhavilosetty-intel wants to merge 1 commit into
mainfrom
ci/node-lts-base-image

Conversation

@madhavilosetty-intel

Copy link
Copy Markdown
Contributor

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

  • Unit Tests have been added for new changes
  • API tests have been updated if applicable
  • All commented code has been removed
  • If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

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 )

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-slim to node:lts-bullseye-slim (digest-pinned).

Comment thread Dockerfile
# SPDX-License-Identifier: Apache-2.0
#*********************************************************************/
FROM node:25-bullseye-slim@sha256:7ec50c1867732dc73facf8b318e029764dab970271691b06cd6895975c1a038e as builder
FROM node:lts-bullseye-slim@sha256:aca89821b1f09df223227ff2abe075fc3161f05604d3b61309f46820a5938020 as builder
auto-merge was automatically disabled July 22, 2026 13:01

Pull request was closed

@madhavilosetty-intel
madhavilosetty-intel deleted the ci/node-lts-base-image branch July 22, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants