Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Auto-update Node.js version in Dockerfiles #243

@bajtos

Description

@bajtos

Review all CheckerNetwork repositories and ensure they are set up to allow Dependeabot to automatically update the Node.js version in the Dockerfile(s).

(1)
The Docker file must include the Node.js version in the FROM value directly. It must not use a variable.

Good:
https://github.com/CheckerNetwork/core/blob/bbf8196575d253cdb452024887939435fea4e95c/Dockerfile#L1

FROM node:22.13.1-slim

Bad:
https://github.com/CheckerNetwork/spark-api/blob/8663a79f20c49d4d9b9e9db0c246f8f1f14b0110/Dockerfile#L3-L5

# Adjust NODE_VERSION as desired
ARG NODE_VERSION=22.13.1
FROM node:${NODE_VERSION}-slim AS base

(2)
Dependabot must be configured to auto-update Docker dependencies.

Example: spark-api >> .github/dependabot.yml

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    ✅ done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions