mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-01 14:38:59 +00:00
tweak(nodejs): switch to bookworm from bullseye
This commit is contained in:
3 files changed
+6
-6
No files matched your search
@@ -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]"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]"
|
||||
|
||||
@@ -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"]
|
||||
CMD ["/entrypoint.sh"]
|
||||
Reference in new issue
Block a user