Add MongoDB 8 (#296)
* Add MongoDB 8 Add yolk for MongoDB 8 * Add mongo 8 to the workflow file * Update README --------- Co-authored-by: Quinten <67589015+QuintenQVD0@users.noreply.github.com>
This commit is contained in:

committed by
GitHub

parent
3a58cde6b2
commit
8133d7c80c
19
mongodb/8/Dockerfile
Normal file
19
mongodb/8/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
# ----------------------------------
|
||||
# Environment: MongoDB
|
||||
# ----------------------------------
|
||||
FROM --platform=$TARGETOS/$TARGETARCH mongo:8-noble
|
||||
|
||||
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"]
|
Reference in New Issue
Block a user