From 25669d708e97698d6755c30a4b2ed324c33d3a45 Mon Sep 17 00:00:00 2001 From: Gamer3514 Date: Mon, 17 Jun 2024 17:33:33 +0100 Subject: [PATCH] Update Dockerfile --- nodejs/12/Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nodejs/12/Dockerfile b/nodejs/12/Dockerfile index e85daf71c..bb400ffc9 100644 --- a/nodejs/12/Dockerfile +++ b/nodejs/12/Dockerfile @@ -1,11 +1,14 @@ FROM --platform=$TARGETOS/$TARGETARCH node:12-bullseye-slim -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" +LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" 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 rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global USER container @@ -17,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"]