From bb8092b59257621cc53dba549db03bd97cff4df2 Mon Sep 17 00:00:00 2001 From: mydapitt Date: Wed, 23 Oct 2024 19:40:51 +0700 Subject: [PATCH] Add 'bookworm' label to Nodejs v20, v22, and v23 base image --- nodejs/20/Dockerfile | 2 +- nodejs/22/Dockerfile | 4 ++-- nodejs/23/Dockerfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nodejs/20/Dockerfile b/nodejs/20/Dockerfile index a921fac..691e8b2 100644 --- a/nodejs/20/Dockerfile +++ b/nodejs/20/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:20-slim +FROM --platform=$TARGETOS/$TARGETARCH node:20-bookworm-slim LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" diff --git a/nodejs/22/Dockerfile b/nodejs/22/Dockerfile index 4877517..e5b53b3 100644 --- a/nodejs/22/Dockerfile +++ b/nodejs/22/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:22-slim +FROM --platform=$TARGETOS/$TARGETARCH node:22-bookworm-slim LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" @@ -6,7 +6,7 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \ && useradd -m -d /home/container container -RUN npm install npm@10.x.x typescript ts-node @types/node --location=global +RUN npm install npm@latest typescript ts-node @types/node --location=global # install pnpm RUN npm install -g corepack diff --git a/nodejs/23/Dockerfile b/nodejs/23/Dockerfile index 874eab7..5cb4278 100644 --- a/nodejs/23/Dockerfile +++ b/nodejs/23/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:23-slim +FROM --platform=$TARGETOS/$TARGETARCH node:23-bookworm-slim LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"