add more images
This commit is contained in:
parent
3241a41ae6
commit
dbb5d933c5
180 changed files with 4993 additions and 999 deletions
26
bot/bastion/Dockerfile
Normal file
26
bot/bastion/Dockerfile
Normal file
|
@ -0,0 +1,26 @@
|
|||
FROM --platform=$TARGETOS/$TARGETARCH mongo:7-jammy
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
## install nodejs 20
|
||||
RUN apt update && apt install --no-install-recommends -y curl apt-transport-https ca-certificates gnupg \
|
||||
&& mkdir -p /usr/share/keyrings \
|
||||
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /usr/share/keyrings/nodesource.gpg \
|
||||
&& echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
|
||||
&& apt update && apt install -y nodejs \
|
||||
&& npm install -g npm@latest \
|
||||
## install bastion reqs
|
||||
&& apt install -y python3 build-essential git libtool netcat ffmpeg iproute2 tzdata tini \
|
||||
## add container user
|
||||
&& useradd -d /home/container -m container -s /bin/bash
|
||||
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
WORKDIR /home/container
|
||||
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||
CMD ["/entrypoint.sh"]
|
Loading…
Add table
Add a link
Reference in a new issue