Skip to content

Commit de42dc7

Browse files
chore(deps): upgrade Docker base images from Node 20 to Node 22 LTS
Closed Dependabot PRs #87-91 (suggested Node 25, non-LTS). Updated all 7 Dockerfiles to Node 22 LTS (current Active LTS). Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4c5523b commit de42dc7

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

apps/api/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Multi-tenant REST API for the GWI SaaS platform
33

44
# Build stage
5-
FROM node:20-alpine AS builder
5+
FROM node:22-alpine AS builder
66

77
WORKDIR /app
88

@@ -44,7 +44,7 @@ RUN npm run build --workspace=@gwi/engine
4444
RUN npm run build --workspace=@gwi/api
4545

4646
# Production stage
47-
FROM node:20-alpine AS runner
47+
FROM node:22-alpine AS runner
4848

4949
WORKDIR /app
5050

apps/cli/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# -v $(pwd):/workspace \
1414
# gwi-cli triage https://github.com/owner/repo/pull/123
1515

16-
FROM node:20-alpine AS builder
16+
FROM node:22-alpine AS builder
1717

1818
# Install build dependencies
1919
RUN apk add --no-cache python3 make g++
@@ -37,7 +37,7 @@ COPY packages ./packages
3737
RUN npm run build --workspace=apps/cli
3838

3939
# Production stage
40-
FROM node:20-alpine
40+
FROM node:22-alpine
4141

4242
# Security: Run as non-root user
4343
RUN addgroup -g 1001 -S gwi && \

apps/gateway/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# R3: Cloud Run as gateway only (proxy to Agent Engine via REST)
33

44
# Build stage
5-
FROM node:20-alpine AS builder
5+
FROM node:22-alpine AS builder
66

77
WORKDIR /app
88

@@ -44,7 +44,7 @@ RUN npm run build --workspace=@gwi/engine
4444
RUN npm run build --workspace=@gwi/gateway
4545

4646
# Production stage
47-
FROM node:20-alpine AS runner
47+
FROM node:22-alpine AS runner
4848

4949
WORKDIR /app
5050

apps/github-webhook/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# R3: Cloud Run as gateway only (no agent logic)
44

55
# Build stage
6-
FROM node:20-alpine AS builder
6+
FROM node:22-alpine AS builder
77

88
WORKDIR /app
99

@@ -45,7 +45,7 @@ RUN npm run build --workspace=@gwi/engine
4545
RUN npm run build --workspace=@gwi/github-webhook
4646

4747
# Production stage
48-
FROM node:20-alpine AS runner
48+
FROM node:22-alpine AS runner
4949

5050
WORKDIR /app
5151

apps/mcp-server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Hard Mode R3: Gateway Separation
44
# This is a REST proxy only - does NOT run agent Runners locally
55

6-
FROM node:20-slim AS base
6+
FROM node:22-slim AS base
77
WORKDIR /app
88

99
# Install dependencies only when needed

apps/webhook-receiver/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Optimized for fast startup and small image size.
77

88
# Build stage
9-
FROM node:20-alpine AS builder
9+
FROM node:22-alpine AS builder
1010

1111
WORKDIR /app
1212

@@ -43,7 +43,7 @@ RUN npm run build --workspace=@gwi/core
4343
RUN npm run build --workspace=@gwi/webhook-receiver
4444

4545
# Production stage
46-
FROM node:20-alpine AS runner
46+
FROM node:22-alpine AS runner
4747

4848
WORKDIR /app
4949

apps/worker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Phase 35: Background job processor for autopilot workflows
33

44
# Build stage
5-
FROM node:20-alpine AS builder
5+
FROM node:22-alpine AS builder
66

77
WORKDIR /app
88

@@ -47,7 +47,7 @@ RUN npm run build --workspace=@gwi/engine
4747
RUN npm run build --workspace=@gwi/worker
4848

4949
# Production stage
50-
FROM node:20-alpine AS runner
50+
FROM node:22-alpine AS runner
5151

5252
WORKDIR /app
5353

0 commit comments

Comments
 (0)