Add 'bookworm' label to Nodejs v20, v22, and v23 base image

This commit is contained in:
mydapitt
2024-10-23 19:40:51 +07:00
parent 755085d2d9
commit bb8092b592
3 changed files with 4 additions and 4 deletions

View File

@@ -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" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"

View File

@@ -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" 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 \ && 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 && 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 # install pnpm
RUN npm install -g corepack RUN npm install -g corepack

View File

@@ -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" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"