Add mongodb 7

This commit is contained in:
Quinten
2023-12-17 09:59:00 +01:00
committed by GitHub
parent a401057a70
commit 74cd18c868
3 changed files with 22 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ jobs:
- 4
- 5
- 6
- 7
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3

View File

@@ -186,6 +186,8 @@ is tagged correctly.
* `ghcr.io/parkervcp/yolks:mongodb_5`
* [`MongoDB 6`](/mongodb/6)
* `ghcr.io/parkervcp/yolks:mongodb_6`
* [`MongoDB 7`](/mongodb/7)
* `ghcr.io/parkervcp/yolks:mongodb_7`
### [Mono](/mono)

19
mongodb/7/Dockerfile Normal file
View File

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