Merge branch 'master' into mohaa
This commit is contained in:
3
.github/workflows/base.yml
vendored
3
.github/workflows/base.yml
vendored
@@ -21,6 +21,7 @@ jobs:
|
|||||||
- ubuntu
|
- ubuntu
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- uses: docker/setup-qemu-action@v1
|
||||||
- uses: docker/setup-buildx-action@v1
|
- uses: docker/setup-buildx-action@v1
|
||||||
with:
|
with:
|
||||||
version: "v0.5.1"
|
version: "v0.5.1"
|
||||||
@@ -34,7 +35,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: ./oses/${{ matrix.oses }}
|
context: ./oses/${{ matrix.oses }}
|
||||||
file: ./oses/${{ matrix.oses }}/Dockerfile
|
file: ./oses/${{ matrix.oses }}/Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/parkervcp/yolks:${{ matrix.oses }}
|
ghcr.io/parkervcp/yolks:${{ matrix.oses }}
|
||||||
|
1
.github/workflows/games.yml
vendored
1
.github/workflows/games.yml
vendored
@@ -16,6 +16,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
game:
|
game:
|
||||||
|
- altv
|
||||||
- arma3
|
- arma3
|
||||||
- source
|
- source
|
||||||
steps:
|
steps:
|
||||||
|
44
.github/workflows/mariadb.yml
vendored
Normal file
44
.github/workflows/mariadb.yml
vendored
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
name: build mariadb
|
||||||
|
on:
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * 1"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- mariadb/**
|
||||||
|
jobs:
|
||||||
|
push:
|
||||||
|
name: "yolks:mariadb_${{ matrix.tag }}"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
tag:
|
||||||
|
- '10.3'
|
||||||
|
- '10.4'
|
||||||
|
- '10.5'
|
||||||
|
- '10.6'
|
||||||
|
- '10.7'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: docker/setup-qemu-action@v1
|
||||||
|
- uses: docker/setup-buildx-action@v1
|
||||||
|
with:
|
||||||
|
version: "v0.5.1"
|
||||||
|
buildkitd-flags: --debug
|
||||||
|
- uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
- uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: ./mariadb
|
||||||
|
file: ./mariadb/${{ matrix.tag }}/Dockerfile
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
ghcr.io/parkervcp/yolks:mariadb_${{ matrix.tag }}
|
41
.github/workflows/mongodb.yml
vendored
Normal file
41
.github/workflows/mongodb.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
name: build mongodb
|
||||||
|
on:
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * 1"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- mongodb/**
|
||||||
|
jobs:
|
||||||
|
push:
|
||||||
|
name: "yolks:mongodb_${{ matrix.tag }}"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
tag:
|
||||||
|
- 4
|
||||||
|
- 5
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: docker/setup-qemu-action@v1
|
||||||
|
- uses: docker/setup-buildx-action@v1
|
||||||
|
with:
|
||||||
|
version: "v0.5.1"
|
||||||
|
buildkitd-flags: --debug
|
||||||
|
- uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
- uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: ./mongodb
|
||||||
|
file: ./mongodb/${{ matrix.tag }}/Dockerfile
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
ghcr.io/parkervcp/yolks:mongodb_${{ matrix.tag }}
|
45
.github/workflows/postgres.yml
vendored
Normal file
45
.github/workflows/postgres.yml
vendored
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
name: build postgres
|
||||||
|
on:
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * 1"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- postgres/**
|
||||||
|
jobs:
|
||||||
|
push:
|
||||||
|
name: "yolks:postgres_${{ matrix.tag }}"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
tag:
|
||||||
|
- 9
|
||||||
|
- 10
|
||||||
|
- 11
|
||||||
|
- 12
|
||||||
|
- 13
|
||||||
|
- 14
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: docker/setup-qemu-action@v1
|
||||||
|
- uses: docker/setup-buildx-action@v1
|
||||||
|
with:
|
||||||
|
version: "v0.5.1"
|
||||||
|
buildkitd-flags: --debug
|
||||||
|
- uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
- uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: ./postgres
|
||||||
|
file: ./postgres/${{ matrix.tag }}/Dockerfile
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
ghcr.io/parkervcp/yolks:postgres_${{ matrix.tag }}
|
41
.github/workflows/redis.yml
vendored
Normal file
41
.github/workflows/redis.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
name: build redis
|
||||||
|
on:
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * 1"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- redis/**
|
||||||
|
jobs:
|
||||||
|
push:
|
||||||
|
name: "yolks:redis_${{ matrix.tag }}"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
tag:
|
||||||
|
- 5
|
||||||
|
- 6
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: docker/setup-qemu-action@v1
|
||||||
|
- uses: docker/setup-buildx-action@v1
|
||||||
|
with:
|
||||||
|
version: "v0.5.1"
|
||||||
|
buildkitd-flags: --debug
|
||||||
|
- uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
- uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: ./redis
|
||||||
|
file: ./redis/${{ matrix.tag }}/Dockerfile
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
ghcr.io/parkervcp/yolks:redis_${{ matrix.tag }}
|
41
README.md
41
README.md
@@ -75,6 +75,8 @@ is tagged correctly.
|
|||||||
|
|
||||||
### [Games](/games)
|
### [Games](/games)
|
||||||
|
|
||||||
|
* [`altv`](/games/altv)
|
||||||
|
* `ghcr.io/parkervcp/games:altv`
|
||||||
* [`arma3`](/games/arma3)
|
* [`arma3`](/games/arma3)
|
||||||
* `ghcr.io/parkervcp/games:arma3`
|
* `ghcr.io/parkervcp/games:arma3`
|
||||||
* [`source`](/games/source)
|
* [`source`](/games/source)
|
||||||
@@ -106,8 +108,25 @@ is tagged correctly.
|
|||||||
* [`java17`](/java/17)
|
* [`java17`](/java/17)
|
||||||
* `ghcr.io/parkervcp/yolks:java_17`
|
* `ghcr.io/parkervcp/yolks:java_17`
|
||||||
|
|
||||||
### [Mono](/mono)
|
### [MariaDB](/mariadb)
|
||||||
|
* [`MariaDB 10.3`](/mariadb/10.3)
|
||||||
|
* `ghcr.io/parkervcp/yolks:mariadb_10.3`
|
||||||
|
* [`MariaDB 10.4`](/mariadb/10.4)
|
||||||
|
* `ghcr.io/parkervcp/yolks:mariadb_10.4`
|
||||||
|
* [`MariaDB 10.5`](/mariadb/10.5)
|
||||||
|
* `ghcr.io/parkervcp/yolks:mariadb_10.5`
|
||||||
|
* [`MariaDB 10.6`](/mariadb/10.6)
|
||||||
|
* `ghcr.io/parkervcp/yolks:mariadb_10.6`
|
||||||
|
* [`MariaDB 10.7`](/mariadb/10.7)
|
||||||
|
* `ghcr.io/parkervcp/yolks:mariadb_10.7`
|
||||||
|
|
||||||
|
### [MongoDB](/mongodb)
|
||||||
|
* [`MongoDB 4`](/mongodb/4)
|
||||||
|
* `ghcr.io/parkervcp/yolks:mongodb_4`
|
||||||
|
* [`MongoDB 5`](/mongodb/5)
|
||||||
|
* `ghcr.io/parkervcp/yolks:mongodb_5`
|
||||||
|
|
||||||
|
### [Mono](/mono)
|
||||||
* [`mono_latest`](/mono/latest)
|
* [`mono_latest`](/mono/latest)
|
||||||
* `ghcr.io/parkervcp/yolks:mono_latest`
|
* `ghcr.io/parkervcp/yolks:mono_latest`
|
||||||
|
|
||||||
@@ -122,6 +141,20 @@ is tagged correctly.
|
|||||||
* [`node17`](/nodejs/17)
|
* [`node17`](/nodejs/17)
|
||||||
* `ghcr.io/parkervcp/yolks:nodejs_17`
|
* `ghcr.io/parkervcp/yolks:nodejs_17`
|
||||||
|
|
||||||
|
### [PostgreSQL](/postgres)
|
||||||
|
* [`Postgres 9`](/postgres/9)
|
||||||
|
* `ghcr.io/parkervcp/yolks:postgres_9`
|
||||||
|
* [`Postgres 10`](/postgres/10)
|
||||||
|
* `ghcr.io/parkervcp/yolks:postgres_10`
|
||||||
|
* [`Postgres 11`](/postgres/11)
|
||||||
|
* `ghcr.io/parkervcp/yolks:postgres_11`
|
||||||
|
* [`Postgres 12`](/postgres/12)
|
||||||
|
* `ghcr.io/parkervcp/yolks:postgres_12`
|
||||||
|
* [`Postgres 13`](/postgres/13)
|
||||||
|
* `ghcr.io/parkervcp/yolks:postgres_13`
|
||||||
|
* [`Postgres 14`](/postgres/14)
|
||||||
|
* `ghcr.io/parkervcp/yolks:postgres_14`
|
||||||
|
|
||||||
### [Python](/python)
|
### [Python](/python)
|
||||||
|
|
||||||
* [`python3.7`](/python/3.7)
|
* [`python3.7`](/python/3.7)
|
||||||
@@ -133,6 +166,12 @@ is tagged correctly.
|
|||||||
* [`python3.10`](/python/3.10)
|
* [`python3.10`](/python/3.10)
|
||||||
* `ghcr.io/parkervcp/yolks:python_3.10`
|
* `ghcr.io/parkervcp/yolks:python_3.10`
|
||||||
|
|
||||||
|
### [Redis](/redis)
|
||||||
|
* [`Redis 5`](/redis/5)
|
||||||
|
* `ghcr.io/parkervcp/yolks:redis_5`
|
||||||
|
* [`Redis 6`](/redis/6)
|
||||||
|
* `ghcr.io/parkervcp/yolks:redis_6`
|
||||||
|
|
||||||
### [Voice](/voice)
|
### [Voice](/voice)
|
||||||
|
|
||||||
* [`TeaSpeak`](/teaspeak)
|
* [`TeaSpeak`](/teaspeak)
|
||||||
|
@@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND noninteractive
|
|||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt upgrade -y \
|
&& apt upgrade -y \
|
||||||
&& apt install -y apt-transport-https wget iproute2 \
|
&& apt install -y apt-transport-https wget iproute2 \
|
||||||
&& wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
&& wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
||||||
&& dpkg -i packages-microsoft-prod.deb \
|
&& dpkg -i packages-microsoft-prod.deb \
|
||||||
&& rm packages-microsoft-prod.deb \
|
&& rm packages-microsoft-prod.deb \
|
||||||
&& apt update -y \
|
&& apt update -y \
|
||||||
|
@@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND noninteractive
|
|||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt upgrade -y \
|
&& apt upgrade -y \
|
||||||
&& apt install -y apt-transport-https wget iproute2 \
|
&& apt install -y apt-transport-https wget iproute2 \
|
||||||
&& wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
&& wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
||||||
&& dpkg -i packages-microsoft-prod.deb \
|
&& dpkg -i packages-microsoft-prod.deb \
|
||||||
&& rm packages-microsoft-prod.deb \
|
&& rm packages-microsoft-prod.deb \
|
||||||
&& apt update -y \
|
&& apt update -y \
|
||||||
|
@@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND noninteractive
|
|||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt upgrade -y \
|
&& apt upgrade -y \
|
||||||
&& apt install -y apt-transport-https wget iproute2 \
|
&& apt install -y apt-transport-https wget iproute2 \
|
||||||
&& wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
&& wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
||||||
&& dpkg -i packages-microsoft-prod.deb \
|
&& dpkg -i packages-microsoft-prod.deb \
|
||||||
&& rm packages-microsoft-prod.deb \
|
&& rm packages-microsoft-prod.deb \
|
||||||
&& apt update -y \
|
&& apt update -y \
|
||||||
|
@@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND noninteractive
|
|||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt upgrade -y \
|
&& apt upgrade -y \
|
||||||
&& apt install -y apt-transport-https wget iproute2 \
|
&& apt install -y apt-transport-https wget iproute2 \
|
||||||
&& wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
&& wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
||||||
&& dpkg -i packages-microsoft-prod.deb \
|
&& dpkg -i packages-microsoft-prod.deb \
|
||||||
&& rm packages-microsoft-prod.deb \
|
&& rm packages-microsoft-prod.deb \
|
||||||
&& apt update -y \
|
&& apt update -y \
|
||||||
|
31
games/altv/Dockerfile
Normal file
31
games/altv/Dockerfile
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# ----------------------------------
|
||||||
|
# Environment: debian
|
||||||
|
# ----------------------------------
|
||||||
|
FROM node:16-bullseye
|
||||||
|
|
||||||
|
LABEL author="goover" maintainer="info@goover.de"
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
RUN useradd -m -d /home/container -s /bin/bash container
|
||||||
|
|
||||||
|
RUN apt update -y \
|
||||||
|
&& apt upgrade -y \
|
||||||
|
&& apt install -y gcc g++ libgcc-s1 lib32gcc-s1 gdb libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools netcat telnet libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
||||||
|
libfontconfig1 libicu67 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadb-dev libduktape205 locales ffmpeg gnupg2 apt-transport-https software-properties-common ca-certificates tzdata \
|
||||||
|
python3 dnsutils build-essential coreutils jq pcregrep
|
||||||
|
|
||||||
|
RUN wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
||||||
|
&& dpkg -i packages-microsoft-prod.deb \
|
||||||
|
&& apt update -y \
|
||||||
|
&& apt install -y dotnet-sdk-5.0 dotnet-sdk-6.0 libgdiplus
|
||||||
|
|
||||||
|
RUN update-locale lang=en_US.UTF-8 \
|
||||||
|
&& dpkg-reconfigure --frontend noninteractive locales
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV USER=container HOME=/home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
12
games/altv/entrypoint.sh
Normal file
12
games/altv/entrypoint.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd /home/container
|
||||||
|
|
||||||
|
# Make internal Docker IP address available to processes.
|
||||||
|
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
|
||||||
|
|
||||||
|
# Replace Startup Variables
|
||||||
|
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
|
||||||
|
echo -e ":/home/container$ ${MODIFIED_STARTUP}"
|
||||||
|
|
||||||
|
# Run the Server
|
||||||
|
eval ${MODIFIED_STARTUP}
|
@@ -46,4 +46,4 @@ PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat
|
|||||||
# from the container itself.
|
# from the container itself.
|
||||||
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0m%s\n" "$PARSED"
|
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0m%s\n" "$PARSED"
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
exec env ${PARSED}
|
eval ${PARSED}
|
||||||
|
19
mariadb/10.3/Dockerfile
Normal file
19
mariadb/10.3/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# -----------------------------------------------------
|
||||||
|
# MariaDB Image for Pterodactyl
|
||||||
|
# -----------------------------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH mariadb:10.3
|
||||||
|
|
||||||
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
RUN apt update -y \
|
||||||
|
&& apt install -y netcat \
|
||||||
|
&& useradd -d /home/container -m container -s /bin/bash
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV USER=container HOME=/home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
19
mariadb/10.4/Dockerfile
Normal file
19
mariadb/10.4/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# -----------------------------------------------------
|
||||||
|
# MariaDB Image for Pterodactyl
|
||||||
|
# -----------------------------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH mariadb:10.4
|
||||||
|
|
||||||
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
RUN apt update -y \
|
||||||
|
&& apt install -y netcat \
|
||||||
|
&& useradd -d /home/container -m container -s /bin/bash
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV USER=container HOME=/home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
19
mariadb/10.5/Dockerfile
Normal file
19
mariadb/10.5/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# -----------------------------------------------------
|
||||||
|
# MariaDB Image for Pterodactyl
|
||||||
|
# -----------------------------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH mariadb:10.5
|
||||||
|
|
||||||
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
RUN apt update -y \
|
||||||
|
&& apt install -y netcat \
|
||||||
|
&& useradd -d /home/container -m container -s /bin/bash
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV USER=container HOME=/home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
19
mariadb/10.6/Dockerfile
Normal file
19
mariadb/10.6/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# -----------------------------------------------------
|
||||||
|
# MariaDB Image for Pterodactyl
|
||||||
|
# -----------------------------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH mariadb:10.6
|
||||||
|
|
||||||
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
RUN apt update -y \
|
||||||
|
&& apt install -y netcat \
|
||||||
|
&& useradd -d /home/container -m container -s /bin/bash
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV USER=container HOME=/home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
19
mariadb/10.7/Dockerfile
Normal file
19
mariadb/10.7/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# -----------------------------------------------------
|
||||||
|
# MariaDB Image for Pterodactyl
|
||||||
|
# -----------------------------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH mariadb:10.7
|
||||||
|
|
||||||
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
RUN apt update -y \
|
||||||
|
&& apt install -y netcat \
|
||||||
|
&& useradd -d /home/container -m container -s /bin/bash
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV USER=container HOME=/home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
12
mariadb/entrypoint.sh
Normal file
12
mariadb/entrypoint.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd /home/container
|
||||||
|
|
||||||
|
# Make internal Docker IP address available to processes.
|
||||||
|
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
|
||||||
|
|
||||||
|
# Replace Startup Variables
|
||||||
|
MODIFIED_STARTUP=$(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
|
||||||
|
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||||
|
|
||||||
|
# Run the Server
|
||||||
|
eval ${MODIFIED_STARTUP}
|
19
mongodb/4/Dockerfile
Normal file
19
mongodb/4/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# ----------------------------------
|
||||||
|
# Environment: MongoDB
|
||||||
|
# ----------------------------------
|
||||||
|
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 iproute2 \
|
||||||
|
&& useradd -d /home/container -m container -s /bin/bash
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV USER=container HOME=/home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
19
mongodb/5/Dockerfile
Normal file
19
mongodb/5/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# ----------------------------------
|
||||||
|
# Environment: MongoDB
|
||||||
|
# ----------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH mongo:5-focal
|
||||||
|
|
||||||
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
RUN apt update -y \
|
||||||
|
&& apt install -y netcat iproute2 \
|
||||||
|
&& useradd -d /home/container -m container -s /bin/bash
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV USER=container HOME=/home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
12
mongodb/entrypoint.sh
Normal file
12
mongodb/entrypoint.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd /home/container
|
||||||
|
|
||||||
|
# Make internal Docker IP address available to processes.
|
||||||
|
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
|
||||||
|
|
||||||
|
# Replace Startup Variables
|
||||||
|
MODIFIED_STARTUP=$(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
|
||||||
|
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||||
|
|
||||||
|
# Run the Server
|
||||||
|
eval ${MODIFIED_STARTUP}
|
@@ -1,7 +1,3 @@
|
|||||||
# ----------------------------------
|
|
||||||
# Mono Latest Image
|
|
||||||
# Minimum Panel Version: 1.2.x
|
|
||||||
# ----------------------------------
|
|
||||||
FROM ghcr.io/parkervcp/yolks:debian
|
FROM ghcr.io/parkervcp/yolks:debian
|
||||||
|
|
||||||
LABEL author="Torsten Widmann" maintainer="support@goover.de"
|
LABEL author="Torsten Widmann" maintainer="support@goover.de"
|
||||||
@@ -12,7 +8,7 @@ RUN apt install -y fontconfig dirmngr
|
|||||||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
|
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
|
||||||
RUN sh -c 'echo "deb https://download.mono-project.com/repo/debian stable-buster main" > /etc/apt/sources.list.d/mono-official-stable.list'
|
RUN sh -c 'echo "deb https://download.mono-project.com/repo/debian stable-buster main" > /etc/apt/sources.list.d/mono-official-stable.list'
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install mono-complete -y
|
RUN apt install -y mono-complete lib32gcc-s1
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM alpine:latest
|
FROM --platform=$TARGETOS/$TARGETARCH alpine:latest
|
||||||
|
|
||||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM debian:bullseye-slim
|
FROM --platform=$TARGETOS/$TARGETARCH debian:bullseye-slim
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
@@ -18,9 +18,9 @@ RUN apt update \
|
|||||||
&& apt upgrade -y
|
&& apt upgrade -y
|
||||||
|
|
||||||
## Install dependencies
|
## Install dependencies
|
||||||
RUN apt install -y gcc g++ libgcc1 lib32gcc-s1 libc++-dev gdb libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools netcat telnet libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
RUN apt install -y gcc g++ libgcc1 libc++-dev gdb libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools netcat telnet libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
||||||
libfontconfig libicu67 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadbclient-dev-compat libduktape205 locales ffmpeg gnupg2 apt-transport-https software-properties-common ca-certificates \
|
libfontconfig libicu67 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadbclient-dev-compat libduktape205 locales ffmpeg gnupg2 apt-transport-https software-properties-common ca-certificates \
|
||||||
liblua5.3-0 libz-dev rapidjson-dev tzdata libevent-dev lib32stdc++6 libstdc++5:i386
|
liblua5.3-0 libz-dev rapidjson-dev tzdata libevent-dev libzip4 lib32stdc++6 libstdc++5:i386
|
||||||
|
|
||||||
## Configure locale
|
## Configure locale
|
||||||
RUN update-locale lang=en_US.UTF-8 \
|
RUN update-locale lang=en_US.UTF-8 \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:18.04
|
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:18.04
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@ RUN apt update \
|
|||||||
&& apt upgrade -y
|
&& apt upgrade -y
|
||||||
|
|
||||||
## install dependencies
|
## install dependencies
|
||||||
RUN apt install -y gcc g++ libgcc1 lib32gcc1 libc++-dev gdb libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools netcat telnet libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
RUN apt install -y gcc g++ libgcc1 libc++-dev gdb libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools netcat telnet libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
||||||
libfontconfig libicu60 libiculx60 icu-devtools libunwind8 libssl1.0.0 libssl1.0-dev sqlite3 libsqlite3-dev libmariadbclient-dev libduktape202 libzip4 locales ffmpeg apt-transport-https init-system-helpers \
|
libfontconfig libicu60 libiculx60 icu-devtools libunwind8 libssl1.0.0 libssl1.0-dev sqlite3 libsqlite3-dev libmariadbclient-dev libduktape202 libzip4 locales ffmpeg apt-transport-https init-system-helpers \
|
||||||
libcurl3-gnutls libjsoncpp1 libleveldb1v5 liblua5.1-0 libluajit-5.1-2 libsqlite3-0 libfluidsynth1 bzip2 zlib1g libevent-dev
|
libcurl3-gnutls libjsoncpp1 libleveldb1v5 liblua5.1-0 libluajit-5.1-2 libsqlite3-0 libfluidsynth1 bzip2 zlib1g libevent-dev
|
||||||
|
|
||||||
|
16
postgres/10/Dockerfile
Normal file
16
postgres/10/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# ----------------------------------
|
||||||
|
# Environment: Postgres DB
|
||||||
|
# ----------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH postgres:10-alpine
|
||||||
|
|
||||||
|
LABEL author="Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
# UID 999 is the default pterodactyl user
|
||||||
|
RUN adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV HOME /home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
16
postgres/11/Dockerfile
Normal file
16
postgres/11/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# ----------------------------------
|
||||||
|
# Environment: Postgres DB
|
||||||
|
# -----------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH postgres:11-alpine
|
||||||
|
|
||||||
|
LABEL author="Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
# UID 999 is the default pterodactyl user
|
||||||
|
RUN adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV HOME /home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
16
postgres/12/Dockerfile
Normal file
16
postgres/12/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# ----------------------------------
|
||||||
|
# Environment: Postgres DB
|
||||||
|
# ----------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH postgres:12-alpine
|
||||||
|
|
||||||
|
LABEL author="Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
# UID 999 is the default pterodactyl user
|
||||||
|
RUN adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV HOME /home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
16
postgres/13/Dockerfile
Normal file
16
postgres/13/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# ----------------------------------
|
||||||
|
# Environment: Postgres DB
|
||||||
|
# ----------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH postgres:13-alpine
|
||||||
|
|
||||||
|
LABEL author="Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
# UID 999 is the default pterodactyl user
|
||||||
|
RUN adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV HOME /home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
16
postgres/14/Dockerfile
Normal file
16
postgres/14/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# ----------------------------------
|
||||||
|
# Environment: Postgres DB
|
||||||
|
# ----------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH postgres:14-alpine
|
||||||
|
|
||||||
|
LABEL author="Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
# UID 999 is the default pterodactyl user
|
||||||
|
RUN adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV HOME /home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
16
postgres/9/Dockerfile
Normal file
16
postgres/9/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# ----------------------------------
|
||||||
|
# Environment: Postgres DB
|
||||||
|
# ----------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH postgres:9-alpine
|
||||||
|
|
||||||
|
LABEL author="Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
# UID 999 is the default pterodactyl user
|
||||||
|
RUN adduser -D -h /home/container container
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV HOME /home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
15
postgres/entrypoint.sh
Normal file
15
postgres/entrypoint.sh
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/ash
|
||||||
|
cd /home/container
|
||||||
|
|
||||||
|
#output current postgres version
|
||||||
|
postgres --version
|
||||||
|
|
||||||
|
# Make internal Docker IP address available to processes.
|
||||||
|
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
|
||||||
|
|
||||||
|
# Replace Startup Variables
|
||||||
|
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
||||||
|
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||||
|
|
||||||
|
# Run the Server
|
||||||
|
eval ${MODIFIED_STARTUP}
|
20
redis/5/Dockerfile
Normal file
20
redis/5/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# ----------------------------------
|
||||||
|
# Environment: redis
|
||||||
|
# ----------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH redis:5-bullseye
|
||||||
|
|
||||||
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
RUN apt -y update && \
|
||||||
|
apt -y upgrade && \
|
||||||
|
apt -y install iproute2 && \
|
||||||
|
useradd -d /home/container -m container -s /bin/bash
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV USER=container HOME=/home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
20
redis/6/Dockerfile
Normal file
20
redis/6/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# ----------------------------------
|
||||||
|
# Environment: redis
|
||||||
|
# ----------------------------------
|
||||||
|
FROM --platform=$TARGETOS/$TARGETARCH redis:6-bullseye
|
||||||
|
|
||||||
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
RUN apt -y update && \
|
||||||
|
apt -y upgrade && \
|
||||||
|
apt -y install iproute2 && \
|
||||||
|
useradd -d /home/container -m container -s /bin/bash
|
||||||
|
|
||||||
|
USER container
|
||||||
|
ENV USER=container HOME=/home/container
|
||||||
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
12
redis/entrypoint.sh
Normal file
12
redis/entrypoint.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd /home/container
|
||||||
|
|
||||||
|
# Make internal Docker IP address available to processes.
|
||||||
|
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
|
||||||
|
|
||||||
|
# Replace Startup Variables
|
||||||
|
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
|
||||||
|
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||||
|
|
||||||
|
# Run the Server
|
||||||
|
eval ${MODIFIED_STARTUP}
|
Reference in New Issue
Block a user