From 9fa2fa8bed202eb26574f65bba8f5b3be7909a02 Mon Sep 17 00:00:00 2001 From: gOOvER <116325+gOOvER@users.noreply.github.com> Date: Fri, 3 Jan 2025 08:02:14 +0100 Subject: [PATCH] PART2 Updated ENVs; added nodejs 23 --- .github/workflows/dev-nodejs.yml | 1 + dev/dotnet/6-sdk/Dockerfile | 6 +-- dev/dotnet/6/Dockerfile | 6 +-- dev/dotnet/7-sdk/Dockerfile | 6 +-- dev/dotnet/7/Dockerfile | 6 +-- dev/dotnet/8-sdk/Dockerfile | 6 +-- dev/dotnet/8/Dockerfile | 6 +-- dev/dotnet/9-sdk/Dockerfile | 6 +-- dev/dotnet/9/Dockerfile | 6 +-- dev/elixir/1.12/Dockerfile | 8 ++-- dev/elixir/1.13/Dockerfile | 8 ++-- dev/elixir/1.14/Dockerfile | 9 ++-- dev/elixir/1.15/Dockerfile | 8 ++-- dev/elixir/1.16/Dockerfile | 8 ++-- dev/elixir/latest/Dockerfile | 8 ++-- dev/nodejs/12/Dockerfile | 8 ++-- dev/nodejs/14/Dockerfile | 8 ++-- dev/nodejs/16/Dockerfile | 8 ++-- dev/nodejs/18/Dockerfile | 8 ++-- dev/nodejs/20/Dockerfile | 8 ++-- dev/nodejs/21/Dockerfile | 8 ++-- dev/nodejs/22/Dockerfile | 8 ++-- dev/nodejs/23/Dockerfile | 71 ++++++++++++++++++++++++++++++++ 23 files changed, 148 insertions(+), 77 deletions(-) create mode 100644 dev/nodejs/23/Dockerfile diff --git a/.github/workflows/dev-nodejs.yml b/.github/workflows/dev-nodejs.yml index 67d4522..3b8d187 100644 --- a/.github/workflows/dev-nodejs.yml +++ b/.github/workflows/dev-nodejs.yml @@ -29,6 +29,7 @@ jobs: - 20 - 21 - 22 + - 23 steps: - uses: actions/checkout@v4 diff --git a/dev/dotnet/6-sdk/Dockerfile b/dev/dotnet/6-sdk/Dockerfile index 8a5416f..017b827 100644 --- a/dev/dotnet/6-sdk/Dockerfile +++ b/dev/dotnet/6-sdk/Dockerfile @@ -27,9 +27,9 @@ RUN wget https://packages.microsoft.com/config/debian/12/packages-micros # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/dotnet/6/Dockerfile b/dev/dotnet/6/Dockerfile index 76163fa..813828c 100644 --- a/dev/dotnet/6/Dockerfile +++ b/dev/dotnet/6/Dockerfile @@ -27,9 +27,9 @@ RUN wget https://packages.microsoft.com/config/debian/12/packages-micros # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/dotnet/7-sdk/Dockerfile b/dev/dotnet/7-sdk/Dockerfile index 1cd36c2..2eb08bd 100644 --- a/dev/dotnet/7-sdk/Dockerfile +++ b/dev/dotnet/7-sdk/Dockerfile @@ -27,9 +27,9 @@ RUN wget https://packages.microsoft.com/config/debian/12/packages-micros # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/dotnet/7/Dockerfile b/dev/dotnet/7/Dockerfile index baa631a..c2aee3a 100644 --- a/dev/dotnet/7/Dockerfile +++ b/dev/dotnet/7/Dockerfile @@ -27,9 +27,9 @@ RUN wget https://packages.microsoft.com/config/debian/12/packages-micros # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/dotnet/8-sdk/Dockerfile b/dev/dotnet/8-sdk/Dockerfile index e885612..95249cc 100644 --- a/dev/dotnet/8-sdk/Dockerfile +++ b/dev/dotnet/8-sdk/Dockerfile @@ -27,9 +27,9 @@ RUN wget https://packages.microsoft.com/config/debian/12/packages-micros # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/dotnet/8/Dockerfile b/dev/dotnet/8/Dockerfile index d38d615..384f040 100644 --- a/dev/dotnet/8/Dockerfile +++ b/dev/dotnet/8/Dockerfile @@ -27,9 +27,9 @@ RUN wget https://packages.microsoft.com/config/debian/12/packages-micros # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/dotnet/9-sdk/Dockerfile b/dev/dotnet/9-sdk/Dockerfile index 24a0c8c..8995221 100644 --- a/dev/dotnet/9-sdk/Dockerfile +++ b/dev/dotnet/9-sdk/Dockerfile @@ -27,9 +27,9 @@ RUN wget https://packages.microsoft.com/config/debian/12/packages-micros # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/dotnet/9/Dockerfile b/dev/dotnet/9/Dockerfile index 681f197..6816301 100644 --- a/dev/dotnet/9/Dockerfile +++ b/dev/dotnet/9/Dockerfile @@ -27,9 +27,9 @@ RUN wget https://packages.microsoft.com/config/debian/12/packages-micros # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/elixir/1.12/Dockerfile b/dev/elixir/1.12/Dockerfile index 3589738..62b75c2 100644 --- a/dev/elixir/1.12/Dockerfile +++ b/dev/elixir/1.12/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -31,9 +31,9 @@ RUN apt install -y \ # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/elixir/1.13/Dockerfile b/dev/elixir/1.13/Dockerfile index b311447..217f80e 100644 --- a/dev/elixir/1.13/Dockerfile +++ b/dev/elixir/1.13/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -31,9 +31,9 @@ RUN apt install -y \ # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/elixir/1.14/Dockerfile b/dev/elixir/1.14/Dockerfile index 4b3a9fd..6d60d88 100644 --- a/dev/elixir/1.14/Dockerfile +++ b/dev/elixir/1.14/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -31,10 +31,9 @@ RUN apt install -y \ # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 - +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container USER container diff --git a/dev/elixir/1.15/Dockerfile b/dev/elixir/1.15/Dockerfile index c8ae130..470deea 100644 --- a/dev/elixir/1.15/Dockerfile +++ b/dev/elixir/1.15/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -31,9 +31,9 @@ RUN apt install -y \ # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/elixir/1.16/Dockerfile b/dev/elixir/1.16/Dockerfile index 33c4273..fa8e427 100644 --- a/dev/elixir/1.16/Dockerfile +++ b/dev/elixir/1.16/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -31,9 +31,9 @@ RUN apt install -y \ # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/elixir/latest/Dockerfile b/dev/elixir/latest/Dockerfile index 977c62e..9eaa9af 100644 --- a/dev/elixir/latest/Dockerfile +++ b/dev/elixir/latest/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -31,9 +31,9 @@ RUN apt install -y \ # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/nodejs/12/Dockerfile b/dev/nodejs/12/Dockerfile index 7952d99..988aedf 100644 --- a/dev/nodejs/12/Dockerfile +++ b/dev/nodejs/12/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -45,9 +45,9 @@ RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/nodejs/14/Dockerfile b/dev/nodejs/14/Dockerfile index 4882b63..230bdd9 100644 --- a/dev/nodejs/14/Dockerfile +++ b/dev/nodejs/14/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -45,9 +45,9 @@ RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/nodejs/16/Dockerfile b/dev/nodejs/16/Dockerfile index a6be256..6a7ce9a 100644 --- a/dev/nodejs/16/Dockerfile +++ b/dev/nodejs/16/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -45,9 +45,9 @@ RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/nodejs/18/Dockerfile b/dev/nodejs/18/Dockerfile index c3bc80f..4b3bafe 100644 --- a/dev/nodejs/18/Dockerfile +++ b/dev/nodejs/18/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -52,9 +52,9 @@ RUN corepack prepare pnpm@latest --activate # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/nodejs/20/Dockerfile b/dev/nodejs/20/Dockerfile index cbc497f..1cf6767 100644 --- a/dev/nodejs/20/Dockerfile +++ b/dev/nodejs/20/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -57,9 +57,9 @@ RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/nodejs/21/Dockerfile b/dev/nodejs/21/Dockerfile index 22efd17..83dd9e7 100644 --- a/dev/nodejs/21/Dockerfile +++ b/dev/nodejs/21/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -52,9 +52,9 @@ RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/nodejs/22/Dockerfile b/dev/nodejs/22/Dockerfile index 63391a3..afb2e46 100644 --- a/dev/nodejs/22/Dockerfile +++ b/dev/nodejs/22/Dockerfile @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" -ARG DEBIAN_FRONTEND=noninteractive +ARG DEBIAN_FRONTEND=noninteractive RUN apt update \ && apt -y upgrade @@ -52,9 +52,9 @@ RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container diff --git a/dev/nodejs/23/Dockerfile b/dev/nodejs/23/Dockerfile new file mode 100644 index 0000000..88a6809 --- /dev/null +++ b/dev/nodejs/23/Dockerfile @@ -0,0 +1,71 @@ +FROM --platform=$TARGETOS/$TARGETARCH node:23-bookworm-slim + +LABEL org.opencontainers.image.authors="info@goover.de" +LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" +LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later +LABEL org.opencontainers.image.description "Docker image for Pelican Hosting Panel and Pterodactyl" + +ARG DEBIAN_FRONTEND=noninteractive +RUN apt update \ + && apt -y upgrade + +RUN apt -y install \ + autoconf \ + automake \ + build-essential \ + ca-certificates\ + curl \ + dnsutils \ + ffmpeg \ + g++ \ + git \ + gnupg \ + gnupg2 \ + iproute2 \ + iputils-ping \ + libtool \ + locales \ + python3 \ + python3-dev \ + sqlite3 \ + tzdata \ + tini \ + zip \ + libnss3 \ + libsqlite3-dev + +# updating npm +RUN npm install npm@latest -g +RUN npm install -g typescript ts-node + +# install pnpm +RUN npm install -g corepack +RUN corepack enable +RUN corepack prepare pnpm@latest --activate + +# add Yarn +RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ + && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ + && apt update \ + && apt -y install yarn + +# Set the locale +RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ + locale-gen +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 + +## Setup user and working directory +RUN useradd -m -d /home/container -s /bin/bash container +USER container +ENV USER=container HOME=/home/container +WORKDIR /home/container + +# Sets the default stop signal as wings can (currently) only send a kill or generic stop +STOPSIGNAL SIGINT + +COPY --chown=container:container ../entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh +ENTRYPOINT ["/usr/bin/tini", "-g", "--"] +CMD ["/entrypoint.sh"]