Skip to content

chore(server): Upgrade server Dockerfiles to Node 22#27074

Open
ChumpChief wants to merge 1 commit intomicrosoft:mainfrom
ChumpChief:server-dockerfiles-node22-v2
Open

chore(server): Upgrade server Dockerfiles to Node 22#27074
ChumpChief wants to merge 1 commit intomicrosoft:mainfrom
ChumpChief:server-dockerfiles-node22-v2

Conversation

@ChumpChief
Copy link
Copy Markdown
Contributor

Description

Updates the base image in the routerlicious, historian, and gitrest Dockerfiles from
node:20.19.0-bookworm-slim to node:22.22.2-bookworm-slim with a pinned sha256 digest.

This is a re-land of #26998, which was reverted due to a startup race condition between
riddler and gitrest. That issue has been fixed in #27069 by adding retry logic to riddler's
getOrCreateRepository call.

The gitssh Dockerfile uses Alpine (no Node) and does not require changes.

Reviewer Guidance

The review process is outlined on this wiki page.

Updates the base image in routerlicious, historian, and gitrest
Dockerfiles from node:20.19.0-bookworm-slim to
node:22.22.2-bookworm-slim with pinned sha256 digest.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ChumpChief ChumpChief force-pushed the server-dockerfiles-node22-v2 branch 2 times, most recently from 8a99290 to 8aa5710 Compare April 18, 2026 02:36
@ChumpChief
Copy link
Copy Markdown
Contributor Author

ChumpChief commented Apr 18, 2026

I struggled to figure out how to get an accurate manual run of the end to end tests pre checkin, but I think we have a good handle on why it failed before. If it fails again after merge then we can revert again.

Filed AB#70628 for facilitating manual runs against builds from test branches

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates server container base images to align runtime with the repo’s Node 22 toolchain requirement, ensuring routerlicious services build/run on the pinned Node 22.22.2 Bookworm slim image.

Changes:

  • Bump FROM node:20.19.0-bookworm-slim@... to node:22.22.2-bookworm-slim@... (pinned by sha256 digest) for routerlicious, historian, and gitrest images.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
server/routerlicious/Dockerfile Switch runner/build base image to Node 22.22.2 (pinned digest).
server/historian/Dockerfile Switch runner/build base image to Node 22.22.2 (pinned digest).
server/gitrest/Dockerfile Switch runner/build base image to Node 22.22.2 (pinned digest).

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