Fix mongoDB 8 and stop build 4

This commit is contained in:
QuintenQVD0
2025-05-17 14:36:19 +02:00
parent 8133d7c80c
commit d4ef3db57e
5 changed files with 45 additions and 67 deletions

View File

@@ -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"]

View File

@@ -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