mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-03 14:38:59 +00:00
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:
1 parent
68ef32ee2a
commit
c263e42dac
20 files changed
+274
-7
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# ----------------------------------
|
||||
# Environment: MongoDB
|
||||
# ----------------------------------
|
||||
FROM --platform=$TARGETOS/$TARGETARCH mongo:5-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