tweak(nodejs): switch to bookworm from bullseye

This commit is contained in:
darksaid98 committed 2024-05-06 20:09:20 +02:00
1 parent 1acff361ba
commit cd5433aa9e
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -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="[email protected]" LABEL author="Michael Parker" maintainer="[email protected]"
@@ -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@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 \ RUN corepack enable \
&& corepack prepare pnpm@latest --activate && corepack prepare pnpm@latest --activate
+2 -2
View File
@@ -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="[email protected]" LABEL author="Michael Parker" maintainer="[email protected]"
@@ -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@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 \ RUN corepack enable \
&& corepack prepare pnpm@latest --activate && corepack prepare pnpm@latest --activate
+1 -1
View File
@@ -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="[email protected]" LABEL author="Michael Parker" maintainer="[email protected]"