update bastion

This commit is contained in:
Quinten
2022-12-15 16:02:31 +01:00
committed by GitHub
parent 0f336f3f95
commit 2bc577c6d1
2 changed files with 12 additions and 5 deletions

View File

@@ -1,13 +1,14 @@
FROM --platform=$TARGETOS/$TARGETARCH node:14-buster
FROM --platform=$TARGETOS/$TARGETARCH node:18-bullseye
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
## install mongo
RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add - \
&& echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list \
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 \
&& apt update \
&& apt install -y mongodb-org=4.2.7 mongodb-org-server=4.2.7 mongodb-org-shell=4.2.7 mongodb-org-mongos=4.2.7 mongodb-org-tools=4.2.7 \
&& 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 netcat ffmpeg \
&& apt install -y python build-essential git libtool netcat ffmpeg iproute2 curl tzdata \
## add container user
&& useradd -d /home/container -m container -s /bin/bash