add mongodb 6

This commit is contained in:
Torsten Widmann committed 2022-08-28 14:10:37 +02:00
1 parent 89e25a6c58
commit 3781925838
2 files changed
+20

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ jobs:
tag:
- 4
- 5
- 6
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
+19
View File
@@ -0,0 +1,19 @@
# ----------------------------------
# Environment: MongoDB
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH mongo:6-focal
LABEL author="Michael Parker" maintainer="[email protected]"
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"]