bastion: move to mongodb6 + python2 -> 3 + set mongodb to use always the same log file

This commit is contained in:
Quinten authored and GitHub committed 2022-12-18 10:57:10 +01:00
1 parent a7c48061ba
commit 7d739dac17
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -3,12 +3,12 @@ FROM --platform=$TARGETOS/$TARGETARCH node:18-bullseye
LABEL author="Michael Parker" maintainer="[email protected]"
## install mongo
RUN wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | apt-key add - \
&& echo "deb http://repo.mongodb.org/apt/debian bullseye/mongodb-org/5.0 main" | tee /etc/apt/sources.list.d/mongodb-org-5.0.list \
RUN wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | apt-key add - \
&& echo "deb http://repo.mongodb.org/apt/debian bullseye/mongodb-org/6.0 main" | tee /etc/apt/sources.list.d/mongodb-org-6.0.list \
&& apt update \
&& apt install -y mongodb-org mongodb-org-server mongodb-org-shell mongodb-org-mongos mongodb-org-tools \
## install bastion reqs
&& apt install -y python build-essential git libtool netcat ffmpeg iproute2 curl tzdata \
&& apt install -y python3 build-essential git libtool netcat ffmpeg iproute2 curl tzdata \
## add container user
&& useradd -d /home/container -m container -s /bin/bash