Pin Node versions to 22.14.0 on the Docker images

This commit is contained in:
Felipe Knorr Kuhn 2025-04-06 18:03:03 +09:00
parent 3df953c0a8
commit 84c9a01b6d
No known key found for this signature in database
GPG Key ID: 79619B52BB097C1A
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ WORKDIR /build
RUN apt-get update && \
apt-get install -y curl ca-certificates && \
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get install -y nodejs build-essential python3 pkg-config && \
apt-get install -y nodejs=22.14.0-1nodesource1 build-essential python3 pkg-config && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
@ -29,7 +29,7 @@ FROM rust:1.84-bookworm AS runtime
RUN apt-get update && \
apt-get install -y curl ca-certificates && \
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get install -y nodejs && \
apt-get install -y nodejs=22.14.0-1nodesource1 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

View File

@ -1,4 +1,4 @@
FROM node:22-bookworm-slim AS builder
FROM node:22.14.0-bookworm-slim AS builder
ARG commitHash
ENV DOCKER_COMMIT_HASH=${commitHash}