From e3d5bd91fc66e42e57d6f49241daa792cc829970 Mon Sep 17 00:00:00 2001 From: Alex <25013571+alexhb1@users.noreply.github.com> Date: Fri, 10 Apr 2026 13:29:48 +0100 Subject: [PATCH] Bump node to 24 LTS (#853) --- .github/dependabot.yml | 6 ++++++ Dockerfile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a7a5311c..b2aa9468 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -31,6 +31,12 @@ updates: groups: docker-images: patterns: ["*"] + ignore: + # Node.js: block major-version bumps so dependabot never proposes + # moving from one LTS line to a non-LTS "Current" release (e.g. 24 -> 25). + # Node LTS is even-numbered only; major bumps should be deliberate. + - dependency-name: "node" + update-types: ["version-update:semver-major"] # GitHub Actions - package-ecosystem: "github-actions" diff --git a/Dockerfile b/Dockerfile index 8b96ce08..392b2d23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG BUILDPLATFORM ARG BUILDARCH # Frontend build stage. -FROM --platform=$BUILDPLATFORM node:20-alpine AS frontend-builder +FROM --platform=$BUILDPLATFORM node:24-alpine AS frontend-builder # Helpful debug output to see what platforms BuildKit thinks it's using RUN echo "BUILDPLATFORM=$BUILDPLATFORM BUILDARCH=$BUILDARCH TARGETPLATFORM=$TARGETPLATFORM TARGETARCH=$TARGETARCH"