feat: add PostgreSQL/MongoDB Images and fix multiarch (#40)

add PostgreSQL/MongoDB Images and fixes multi-arch builds for MariaDB, Redis.
This commit is contained in:
Torsten Widmann authored and GitHub committed 2022-01-25 17:08:35 +02:00
1 parent 68ef32ee2a
commit c263e42dac
20 files changed
+274 -7

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
# ----------------------------------
# Environment: MongoDB
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH mongo:4-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"]