Skip to content

Commit

Permalink
Merge pull request #211 from parkervcp/mongodb-7
Browse files Browse the repository at this point in the history
Add mongodb 7
  • Loading branch information
parkervcp authored Jan 9, 2024
2 parents bb565ef + 74cd18c commit adda5bf
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- 4
- 5
- 6
- 7
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,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)

Expand Down
19 changes: 19 additions & 0 deletions mongodb/7/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit adda5bf

Please sign in to comment.