From fe65973c3d18568631221825d9c5d03ccb1e5585 Mon Sep 17 00:00:00 2001 From: RECTOR Date: Thu, 25 Jun 2026 10:54:51 +0700 Subject: [PATCH] chore(deps): bump Docker base node 22->24-alpine (LTS) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dependabot's #328 proposed node:26-alpine, but node 26 is a Current release (it doesn't become Active LTS until ~Oct 2026). Retarget the production runtime to node:24-alpine — the current Active LTS — instead. Both the build and runtime stages are updated. CI doesn't cover this (the Docker build-and-push job is skipped on PRs), so verified locally: docker build (full multi-stage) -> ok node --version in image -> v24.18.0 better-sqlite3 native module (node-gyp rebuild) -> loads + runs on node 24 packages/agent/dist/index.js -> built Supersedes #328 (which targeted node:26). --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4f9510c0..fbf4286d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # ── Stage 1: Build ─────────────────────────────────────────────────────────── -FROM node:22-alpine AS builder +FROM node:24-alpine AS builder WORKDIR /app @@ -37,7 +37,7 @@ RUN pnpm build \ # ── Stage 2: Production ───────────────────────────────────────────────────── -FROM node:22-alpine +FROM node:24-alpine WORKDIR /app