add mongodb 6

This commit is contained in:
Torsten Widmann
2022-08-28 14:10:37 +02:00
parent 89e25a6c58
commit 3781925838
2 changed files with 20 additions and 0 deletions

19
mongodb/6/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# ----------------------------------
# Environment: MongoDB
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH mongo:6-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"]