Skip to content

fix: update node to 20.20.0-alpine#75

Merged
k9ert merged 1 commit intomainfrom
kn/update-node-20.20.0
Feb 9, 2026
Merged

fix: update node to 20.20.0-alpine#75
k9ert merged 1 commit intomainfrom
kn/update-node-20.20.0

Conversation

@k9ert
Copy link
Copy Markdown
Contributor

@k9ert k9ert commented Feb 9, 2026

Summary

Resolves blinkbitcoin/blink-wip#395

Test plan

  • Build realtime image locally
  • CI passes
  • Deploy staging + verify node --version = 20.20.0
  • Deploy prod + verify

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings February 9, 2026 10:54
Copy link
Copy Markdown

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 the Node.js base image tag in service Dockerfiles to a specific patch release (20.20.0-alpine) to mitigate the referenced Node CVE and ensure deployed containers run the intended Node version.

Changes:

  • Bump FROM node:20-alpine to FROM node:20.20.0-alpine in realtime build + runtime stages
  • Bump FROM node:20-alpine to FROM node:20.20.0-alpine in history build + runtime stages
  • Bump history migration image to node:20.20.0-alpine

Reviewed changes

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

File Description
realtime/Dockerfile Pins Node base image tag to 20.20.0-alpine for build + runtime stages.
history/Dockerfile Pins Node base image tag to 20.20.0-alpine for build + runtime stages.
history/Dockerfile-migrate Pins Node base image tag to 20.20.0-alpine for the migration image.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread realtime/Dockerfile
@@ -1,4 +1,4 @@
FROM node:20-alpine AS BUILD_IMAGE
FROM node:20.20.0-alpine AS BUILD_IMAGE
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

Using a mutable tag (even with a pinned Node patch) can still lead to non-reproducible builds if the tag is rebuilt. For stronger supply-chain/reproducibility guarantees, consider pinning the base image by digest (node@sha256:...) and/or an explicit Alpine variant (e.g., -alpine3.xx) in both stages.

Copilot uses AI. Check for mistakes.
Comment thread history/Dockerfile
@@ -1,4 +1,4 @@
FROM node:20-alpine AS BUILD_IMAGE
FROM node:20.20.0-alpine AS BUILD_IMAGE
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

Using a mutable tag (even with a pinned Node patch) can still lead to non-reproducible builds if the tag is rebuilt. For stronger supply-chain/reproducibility guarantees, consider pinning the base image by digest (node@sha256:...) and/or an explicit Alpine variant (e.g., -alpine3.xx) in both stages.

Copilot uses AI. Check for mistakes.
@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:20.20.0-alpine
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

Using a mutable tag (even with a pinned Node patch) can still lead to non-reproducible builds if the tag is rebuilt. For stronger supply-chain/reproducibility guarantees, consider pinning the base image by digest (node@sha256:...) and/or an explicit Alpine variant (e.g., -alpine3.xx).

Suggested change
FROM node:20.20.0-alpine
FROM node:20.20.0-alpine3.19

Copilot uses AI. Check for mistakes.
@k9ert k9ert merged commit cc1f9f5 into main Feb 9, 2026
11 checks passed
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.

3 participants