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

@@ -17,7 +17,6 @@ jobs:
fail-fast: false
matrix:
tag:
- 4
- 5
- 6
- 7

View File

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

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