Fix mongoDB 8 and stop build 4
This commit is contained in:
@@ -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"]
|
@@ -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
|
||||
|
Reference in New Issue
Block a user