Compare commits
1 Commits
add_zandro
...
remove-num
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a917ca296e |
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
@@ -11,5 +11,5 @@
|
||||
|
||||
### New Image Submissions:
|
||||
|
||||
1. [ ] Have you added your image to the [Github workflows](https://github.com/pelican-eggs/yolks/tree/master/.github/workflows)?
|
||||
1. [ ] Have you added your image to the [Github workflows](https://github.com/parkervcp/yolks/tree/master/.github/workflows)?
|
||||
2. [ ] Have you updated the README list to contain your new image?
|
||||
|
1
.github/workflows/games.yml
vendored
1
.github/workflows/games.yml
vendored
@@ -25,7 +25,6 @@ jobs:
|
||||
- source
|
||||
- valheim
|
||||
- thebattleforwesnoth
|
||||
- zandronum
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
2
.github/workflows/mongodb.yml
vendored
2
.github/workflows/mongodb.yml
vendored
@@ -17,10 +17,10 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
tag:
|
||||
- 4
|
||||
- 5
|
||||
- 6
|
||||
- 7
|
||||
- 8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: docker/setup-qemu-action@v3
|
||||
|
1
.github/workflows/nodejs.yml
vendored
1
.github/workflows/nodejs.yml
vendored
@@ -26,7 +26,6 @@ jobs:
|
||||
- 21
|
||||
- 22
|
||||
- 23
|
||||
- 24
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
# Setup QEMU for ARM64 Build
|
||||
|
@@ -146,8 +146,6 @@ is tagged correctly.
|
||||
* `ghcr.io/parkervcp/games:thebattleforwesnoth`
|
||||
* [`valheim`](/games/valheim)
|
||||
* `ghcr.io/parkervcp/games:valheim`
|
||||
* [`zandronum`](/games/zandronum)
|
||||
* `ghcr.io/parkervcp/games:zandronum`
|
||||
|
||||
### [Golang](/go)
|
||||
|
||||
@@ -214,14 +212,14 @@ is tagged correctly.
|
||||
|
||||
### [MongoDB](/mongodb)
|
||||
|
||||
* [`MongoDB 4`](/mongodb/4)
|
||||
* `ghcr.io/parkervcp/yolks:mongodb_4`
|
||||
* [`MongoDB 5`](/mongodb/5)
|
||||
* `ghcr.io/parkervcp/yolks:mongodb_5`
|
||||
* [`MongoDB 6`](/mongodb/6)
|
||||
* `ghcr.io/parkervcp/yolks:mongodb_6`
|
||||
* [`MongoDB 7`](/mongodb/7)
|
||||
* `ghcr.io/parkervcp/yolks:mongodb_7`
|
||||
* [`MongoDB 8`](/mongodb/8)
|
||||
* `ghcr.io/parkervcp/yolks:mongodb_8`
|
||||
|
||||
### [Mono](/mono)
|
||||
|
||||
@@ -250,8 +248,6 @@ is tagged correctly.
|
||||
* `ghcr.io/parkervcp/yolks:nodejs_22`
|
||||
* [`node23`](/nodejs/23)
|
||||
* `ghcr.io/parkervcp/yolks:nodejs_23`
|
||||
* [`node24`](/nodejs/24)
|
||||
* `ghcr.io/parkervcp/yolks:nodejs_24`
|
||||
|
||||
### [PostgreSQL](/postgres)
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:24.04
|
||||
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:20.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
@@ -6,35 +6,16 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN useradd -m -d /home/container -s /bin/bash container
|
||||
|
||||
## update base packages
|
||||
RUN apt update && \
|
||||
apt upgrade -y
|
||||
RUN apt update \
|
||||
&& apt upgrade -y
|
||||
|
||||
## install dependencies
|
||||
RUN apt install -y iproute2 \
|
||||
curl \
|
||||
git \
|
||||
zip \
|
||||
unzip \
|
||||
tar \
|
||||
xz-utils \
|
||||
apt-transport-https \
|
||||
openssl \
|
||||
libssl3 \
|
||||
default-libmysqlclient-dev \
|
||||
libmysqlclient-dev \
|
||||
libreadline-dev \
|
||||
libncurses-dev \
|
||||
libtool \
|
||||
python3 \
|
||||
locales \
|
||||
ffmpeg \
|
||||
libc6 \
|
||||
binutils \
|
||||
liblua5.1-0
|
||||
RUN apt install -y iproute2 tar libssl1.1 curl git default-libmysqlclient-dev libmysqlclient-dev libreadline-gplv2-dev libncurses5-dev libncursesw5-dev \
|
||||
libtool zip unzip libncurses5 libncursesw5 python3 openssl locales ffmpeg apt-transport-https libc6 binutils xz-utils liblua5.1-0
|
||||
|
||||
## configure locale
|
||||
RUN update-locale lang=en_US.UTF-8 && \
|
||||
dpkg-reconfigure --frontend noninteractive locales
|
||||
RUN update-locale lang=en_US.UTF-8 \
|
||||
&& dpkg-reconfigure --frontend noninteractive locales
|
||||
|
||||
WORKDIR /home/container
|
||||
|
||||
|
@@ -60,7 +60,7 @@ RUN dpkg --add-architecture i386 \
|
||||
libsdl1.2debian \
|
||||
libsdl2-2.0-0:i386 \
|
||||
libssl-dev:i386 \
|
||||
libtinfo6:i386
|
||||
libtinfo6:i386 \
|
||||
|
||||
# Install rcon
|
||||
RUN cd /tmp/ \
|
||||
|
@@ -1,33 +0,0 @@
|
||||
FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim
|
||||
|
||||
RUN apt update && \
|
||||
apt upgrade -y && \
|
||||
apt install -y \
|
||||
tini \
|
||||
wget \
|
||||
libsdl1.2debian \
|
||||
libsdl2-2.0-0
|
||||
|
||||
RUN wget https://snapshot.debian.org/archive/debian/20190501T215844Z/pool/main/g/glibc/multiarch-support_2.28-10_amd64.deb && \
|
||||
wget https://snapshot.debian.org/archive/debian/20141009T042436Z/pool/main/libj/libjpeg8/libjpeg8_8d1-2_amd64.deb && \
|
||||
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb && \
|
||||
apt install -y ./libjpeg8_8d1-2_amd64.deb ./multiarch-support_2.28-10_amd64.deb ./libssl1.1_1.1.0g-2ubuntu4_amd64.deb
|
||||
|
||||
## add container user
|
||||
RUN useradd -m -d /home/container -s /bin/bash container
|
||||
|
||||
# Set up user and working directory
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
WORKDIR /home/container
|
||||
|
||||
# Set the stop signal
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
# Copy and set up the entrypoint script
|
||||
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
# Define entrypoint and command
|
||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||
CMD ["/entrypoint.sh"]
|
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd /home/container
|
||||
|
||||
# Make internal Docker IP address available to processes.
|
||||
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
|
||||
export INTERNAL_IP
|
||||
|
||||
# Replace Startup Variables
|
||||
MODIFIED_STARTUP=$(echo -e $(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g'))
|
||||
echo -e ":/home/container$ ${MODIFIED_STARTUP}"
|
||||
|
||||
# Run the Server
|
||||
eval ${MODIFIED_STARTUP}
|
@@ -1,14 +1,14 @@
|
||||
# ----------------------------------
|
||||
# Environment: MongoDB
|
||||
# ----------------------------------
|
||||
FROM --platform=$TARGETOS/$TARGETARCH mongo:8-noble
|
||||
FROM --platform=$TARGETOS/$TARGETARCH mongo:4-focal
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt update -y \
|
||||
&& apt install -y netcat-openbsd iproute2 \
|
||||
&& apt install -y netcat iproute2 \
|
||||
&& useradd -d /home/container -m container -s /bin/bash
|
||||
|
||||
USER container
|
@@ -2,37 +2,18 @@ FROM --platform=$TARGETOS/$TARGETARCH node:12-bullseye-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
# add container user and set stop signal
|
||||
RUN useradd -m -d /home/container container
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install \
|
||||
ffmpeg \
|
||||
iproute2 \
|
||||
git \
|
||||
sqlite3 \
|
||||
libsqlite3-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
ca-certificates \
|
||||
dnsutils \
|
||||
tzdata \
|
||||
zip \
|
||||
tar \
|
||||
curl \
|
||||
build-essential \
|
||||
libtool \
|
||||
iputils-ping \
|
||||
libnss3 \
|
||||
tini
|
||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
RUN npm install --global npm@latest typescript ts-node @types/node
|
||||
RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global
|
||||
|
||||
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", "--"]
|
||||
|
@@ -2,37 +2,18 @@ FROM --platform=$TARGETOS/$TARGETARCH node:14-bullseye-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
# add container user and set stop signal
|
||||
RUN useradd -m -d /home/container container
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install \
|
||||
ffmpeg \
|
||||
iproute2 \
|
||||
git \
|
||||
sqlite3 \
|
||||
libsqlite3-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
ca-certificates \
|
||||
dnsutils \
|
||||
tzdata \
|
||||
zip \
|
||||
tar \
|
||||
curl \
|
||||
build-essential \
|
||||
libtool \
|
||||
iputils-ping \
|
||||
libnss3 \
|
||||
tini
|
||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
RUN npm install --global npm@latest typescript ts-node @types/node
|
||||
RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global
|
||||
|
||||
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", "--"]
|
||||
|
@@ -2,37 +2,18 @@ FROM --platform=$TARGETOS/$TARGETARCH node:16-bookworm-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
# add container user and set stop signal
|
||||
RUN useradd -m -d /home/container container
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install \
|
||||
ffmpeg \
|
||||
iproute2 \
|
||||
git \
|
||||
sqlite3 \
|
||||
libsqlite3-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
ca-certificates \
|
||||
dnsutils \
|
||||
tzdata \
|
||||
zip \
|
||||
tar \
|
||||
curl \
|
||||
build-essential \
|
||||
libtool \
|
||||
iputils-ping \
|
||||
libnss3 \
|
||||
tini
|
||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
RUN npm install --global npm@9.x.x typescript ts-node @types/node
|
||||
RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global
|
||||
|
||||
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", "--"]
|
||||
|
@@ -2,37 +2,18 @@ FROM --platform=$TARGETOS/$TARGETARCH node:17-bullseye-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
# add container user and set stop signal
|
||||
RUN useradd -m -d /home/container container
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install \
|
||||
ffmpeg \
|
||||
iproute2 \
|
||||
git \
|
||||
sqlite3 \
|
||||
libsqlite3-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
ca-certificates \
|
||||
dnsutils \
|
||||
tzdata \
|
||||
zip \
|
||||
tar \
|
||||
curl \
|
||||
build-essential \
|
||||
libtool \
|
||||
iputils-ping \
|
||||
libnss3 \
|
||||
tini
|
||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 libnss3 tini \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
RUN npm install --global npm@8.x.x typescript ts-node @types/node
|
||||
RUN npm install npm@8.11.0 typescript ts-node @types/node --location=global
|
||||
|
||||
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", "--"]
|
||||
|
@@ -2,32 +2,11 @@ FROM --platform=$TARGETOS/$TARGETARCH node:18-bookworm-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
# add container user and set stop signal
|
||||
RUN useradd -m -d /home/container container
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install \
|
||||
ffmpeg \
|
||||
iproute2 \
|
||||
git \
|
||||
sqlite3 \
|
||||
libsqlite3-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
ca-certificates \
|
||||
dnsutils \
|
||||
tzdata \
|
||||
zip \
|
||||
tar \
|
||||
curl \
|
||||
build-essential \
|
||||
libtool \
|
||||
iputils-ping \
|
||||
libnss3 \
|
||||
tini
|
||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
RUN npm install --global npm@10.x.x typescript ts-node @types/node
|
||||
RUN npm install npm@10.x.x typescript ts-node @types/node --location=global
|
||||
|
||||
# install pnpm
|
||||
RUN npm install -g corepack
|
||||
@@ -38,6 +17,8 @@ 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", "--"]
|
||||
|
@@ -2,32 +2,11 @@ FROM --platform=$TARGETOS/$TARGETARCH node:19-bullseye-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
# add container user and set stop signal
|
||||
RUN useradd -m -d /home/container container
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install \
|
||||
ffmpeg \
|
||||
iproute2 \
|
||||
git \
|
||||
sqlite3 \
|
||||
libsqlite3-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
ca-certificates \
|
||||
dnsutils \
|
||||
tzdata \
|
||||
zip \
|
||||
tar \
|
||||
curl \
|
||||
build-essential \
|
||||
libtool \
|
||||
iputils-ping \
|
||||
libnss3 \
|
||||
tini
|
||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
RUN npm install --global npm@9.x.x typescript ts-node @types/node
|
||||
RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global
|
||||
|
||||
# install pnpm
|
||||
RUN npm install -g corepack
|
||||
@@ -38,7 +17,9 @@ 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", "--"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
@@ -2,32 +2,11 @@ FROM --platform=$TARGETOS/$TARGETARCH node:20-bookworm-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
# add container user and set stop signal
|
||||
RUN useradd -m -d /home/container container
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install \
|
||||
ffmpeg \
|
||||
iproute2 \
|
||||
git \
|
||||
sqlite3 \
|
||||
libsqlite3-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
ca-certificates \
|
||||
dnsutils \
|
||||
tzdata \
|
||||
zip \
|
||||
tar \
|
||||
curl \
|
||||
build-essential \
|
||||
libtool \
|
||||
iputils-ping \
|
||||
libnss3 \
|
||||
tini
|
||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
RUN npm install --global npm@latest typescript ts-node @types/node
|
||||
RUN npm install npm@latest typescript ts-node @types/node --location=global
|
||||
|
||||
# install pnpm
|
||||
RUN npm install -g corepack
|
||||
@@ -38,6 +17,8 @@ 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", "--"]
|
||||
|
@@ -2,35 +2,14 @@ FROM --platform=$TARGETOS/$TARGETARCH node:21-bookworm-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
# add container user and set stop signal
|
||||
RUN useradd -m -d /home/container container
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install \
|
||||
ffmpeg \
|
||||
iproute2 \
|
||||
git \
|
||||
sqlite3 \
|
||||
libsqlite3-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
ca-certificates \
|
||||
dnsutils \
|
||||
tzdata \
|
||||
zip \
|
||||
tar \
|
||||
curl \
|
||||
build-essential \
|
||||
libtool \
|
||||
iputils-ping \
|
||||
libnss3 \
|
||||
tini
|
||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
RUN npm install --global npm@10.x.x typescript ts-node @types/node
|
||||
RUN npm install npm@10.x.x typescript ts-node @types/node --location=global
|
||||
|
||||
# install pnpm
|
||||
RUN npm install -g corepack@latest
|
||||
RUN npm install -g corepack
|
||||
RUN corepack enable
|
||||
RUN corepack prepare pnpm@latest --activate
|
||||
|
||||
@@ -38,6 +17,8 @@ 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", "--"]
|
||||
|
@@ -2,32 +2,11 @@ FROM --platform=$TARGETOS/$TARGETARCH node:22-bookworm-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
# add container user and set stop signal
|
||||
RUN useradd -m -d /home/container container
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install \
|
||||
ffmpeg \
|
||||
iproute2 \
|
||||
git \
|
||||
sqlite3 \
|
||||
libsqlite3-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
ca-certificates \
|
||||
dnsutils \
|
||||
tzdata \
|
||||
zip \
|
||||
tar \
|
||||
curl \
|
||||
build-essential \
|
||||
libtool \
|
||||
iputils-ping \
|
||||
libnss3 \
|
||||
tini
|
||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
RUN npm install --global npm@latest typescript ts-node @types/node
|
||||
RUN npm install npm@latest typescript ts-node @types/node --location=global
|
||||
|
||||
# install pnpm
|
||||
RUN npm install -g corepack
|
||||
@@ -38,6 +17,8 @@ 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", "--"]
|
||||
|
@@ -2,32 +2,11 @@ FROM --platform=$TARGETOS/$TARGETARCH node:23-bookworm-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
# add container user and set stop signal
|
||||
RUN useradd -m -d /home/container container
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install \
|
||||
ffmpeg \
|
||||
iproute2 \
|
||||
git \
|
||||
sqlite3 \
|
||||
libsqlite3-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
ca-certificates \
|
||||
dnsutils \
|
||||
tzdata \
|
||||
zip \
|
||||
tar \
|
||||
curl \
|
||||
build-essential \
|
||||
libtool \
|
||||
iputils-ping \
|
||||
libnss3 \
|
||||
tini
|
||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
RUN npm install --global npm@latest typescript ts-node @types/node
|
||||
RUN npm install npm@latest typescript ts-node @types/node --location=global
|
||||
|
||||
# install pnpm
|
||||
RUN npm install -g corepack
|
||||
@@ -38,6 +17,8 @@ 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", "--"]
|
||||
|
@@ -1,44 +0,0 @@
|
||||
FROM --platform=$TARGETOS/$TARGETARCH node:24-bookworm-slim
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
# add container user and set stop signal
|
||||
RUN useradd -m -d /home/container container
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install \
|
||||
ffmpeg \
|
||||
iproute2 \
|
||||
git \
|
||||
sqlite3 \
|
||||
libsqlite3-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
ca-certificates \
|
||||
dnsutils \
|
||||
tzdata \
|
||||
zip \
|
||||
tar \
|
||||
curl \
|
||||
build-essential \
|
||||
libtool \
|
||||
iputils-ping \
|
||||
libnss3 \
|
||||
tini
|
||||
|
||||
RUN npm install --global npm@latest typescript ts-node @types/node
|
||||
|
||||
# install pnpm
|
||||
RUN npm install -g corepack
|
||||
RUN corepack enable
|
||||
RUN corepack prepare pnpm@latest --activate
|
||||
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
WORKDIR /home/container
|
||||
|
||||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||
CMD ["/entrypoint.sh"]
|
Reference in New Issue
Block a user