Merge pull request #67 from gOOvER/mongodb6

add mongodb 6
This commit is contained in:
Michael (Parker) Parker
2022-08-28 08:12:03 -04:00
committed by GitHub
3 changed files with 22 additions and 0 deletions

View File

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

View File

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

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