From cd5433aa9e2035c2761f9e1fbd38b881852be319 Mon Sep 17 00:00:00 2001 From: darksaid98 Date: Mon, 6 May 2024 20:09:20 +0200 Subject: [PATCH] tweak(nodejs): switch to bookworm from bullseye --- nodejs/18/Dockerfile | 4 ++-- nodejs/19/Dockerfile | 4 ++-- nodejs/20/Dockerfile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nodejs/18/Dockerfile b/nodejs/18/Dockerfile index a43c00d..db091e1 100644 --- a/nodejs/18/Dockerfile +++ b/nodejs/18/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:18-bullseye-slim +FROM --platform=$TARGETOS/$TARGETARCH node:18-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@9.8.1 typescript ts-node @types/node --location=global +RUN npm install npm@latest typescript ts-node @types/node --location=global RUN corepack enable \ && corepack prepare pnpm@latest --activate diff --git a/nodejs/19/Dockerfile b/nodejs/19/Dockerfile index caee9ca..f45c900 100644 --- a/nodejs/19/Dockerfile +++ b/nodejs/19/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:19-bullseye-slim +FROM --platform=$TARGETOS/$TARGETARCH node:19-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@9.8.1 typescript ts-node @types/node --location=global +RUN npm install npm@latest typescript ts-node @types/node --location=global RUN corepack enable \ && corepack prepare pnpm@latest --activate diff --git a/nodejs/20/Dockerfile b/nodejs/20/Dockerfile index 3c701be..67acb85 100644 --- a/nodejs/20/Dockerfile +++ b/nodejs/20/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:20-bullseye-slim +FROM --platform=$TARGETOS/$TARGETARCH node:20-bookworm-slim LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" @@ -20,4 +20,4 @@ STOPSIGNAL SIGINT COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENTRYPOINT ["/usr/bin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] \ No newline at end of file +CMD ["/entrypoint.sh"]