bastion: move images arround so it can be build for arm64.
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
FROM --platform=$TARGETOS/$TARGETARCH node:18-bullseye
|
||||
FROM --platform=$TARGETOS/$TARGETARCH mongo:6-focal
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
## install mongo
|
||||
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 python3 build-essential git libtool netcat ffmpeg iproute2 curl tzdata \
|
||||
## install nodejs 18
|
||||
RUN apt update && apt install --no-install-recommends -y curl \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
||||
&& apt install -y nodejs \
|
||||
&& npm install -g npm@latest \
|
||||
## install bastion reqs
|
||||
&& apt install -y python3 build-essential git libtool netcat ffmpeg iproute2 tzdata \
|
||||
## add container user
|
||||
&& useradd -d /home/container -m container -s /bin/bash
|
||||
|
||||
@@ -18,4 +17,4 @@ ENV USER=container HOME=/home/container
|
||||
WORKDIR /home/container
|
||||
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
CMD ["/bin/bash", "/entrypoint.sh"]
|
||||
CMD ["/bin/bash", "/entrypoint.sh"]
|
Reference in New Issue
Block a user