mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-02 14:38:59 +00:00
add mongodb 6
This commit is contained in:
1 parent
89e25a6c58
commit
3781925838
2 files changed
+20
No files matched your search
@@ -19,6 +19,7 @@ jobs:
|
||||
tag:
|
||||
- 4
|
||||
- 5
|
||||
- 6
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
|
||||
@@ -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"]
|
||||
Reference in new issue
Block a user