diff --git a/.github/workflows/mongodb.yml b/.github/workflows/mongodb.yml index c5d48eb..5e61a4b 100644 --- a/.github/workflows/mongodb.yml +++ b/.github/workflows/mongodb.yml @@ -17,7 +17,6 @@ jobs: fail-fast: false matrix: tag: - - 4 - 5 - 6 - 7 diff --git a/README.md b/README.md index 0753150..ec5fa41 100644 --- a/README.md +++ b/README.md @@ -212,8 +212,6 @@ is tagged correctly. ### [MongoDB](/mongodb) - * [`MongoDB 4`](/mongodb/4) - * `ghcr.io/parkervcp/yolks:mongodb_4` * [`MongoDB 5`](/mongodb/5) * `ghcr.io/parkervcp/yolks:mongodb_5` * [`MongoDB 6`](/mongodb/6) diff --git a/mongodb/4/Dockerfile b/mongodb/4/Dockerfile deleted file mode 100644 index bab5f3e..0000000 --- a/mongodb/4/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ---------------------------------- -# Environment: MongoDB -# ---------------------------------- -FROM --platform=$TARGETOS/$TARGETARCH mongo:4-focal - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt update -y \ - && apt install -y netcat iproute2 \ - && useradd -d /home/container -m container -s /bin/bash - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./entrypoint.sh /entrypoint.sh -CMD ["/bin/bash", "/entrypoint.sh"] diff --git a/mongodb/8/Dockerfile b/mongodb/8/Dockerfile index 0071145..0506e24 100644 --- a/mongodb/8/Dockerfile +++ b/mongodb/8/Dockerfile @@ -8,7 +8,7 @@ LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" ENV DEBIAN_FRONTEND=noninteractive RUN apt update -y \ - && apt install -y netcat iproute2 \ + && apt install -y netcat-openbsd iproute2 \ && useradd -d /home/container -m container -s /bin/bash USER container diff --git a/nodejs/24/Dockerfile b/nodejs/24/Dockerfile index 6ffca55..53d87d6 100644 --- a/nodejs/24/Dockerfile +++ b/nodejs/24/Dockerfile @@ -1,44 +1,44 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:24-bookworm-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -# add container user and set stop signal -RUN useradd -m -d /home/container container -STOPSIGNAL SIGINT - -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 - -RUN npm install --global npm@latest typescript ts-node @types/node - -# install pnpm -RUN npm install -g corepack -RUN corepack enable -RUN corepack prepare pnpm@latest --activate - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/usr/bin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] +FROM --platform=$TARGETOS/$TARGETARCH node:24-bookworm-slim + +LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" + +# add container user and set stop signal +RUN useradd -m -d /home/container container +STOPSIGNAL SIGINT + +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 + +RUN npm install --global npm@latest typescript ts-node @types/node + +# install pnpm +RUN npm install -g corepack +RUN corepack enable +RUN corepack prepare pnpm@latest --activate + +USER container +ENV USER=container HOME=/home/container +WORKDIR /home/container + +COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh +ENTRYPOINT ["/usr/bin/tini", "-g", "--"] +CMD ["/entrypoint.sh"]