From 698799689d6b7c09dab86a37fa693365a853aa0c Mon Sep 17 00:00:00 2001 From: darksaid98 Date: Mon, 16 Feb 2026 02:17:18 +0100 Subject: [PATCH] remove: unused images This commit removes docker images that are non-unique/better maintained in the parent/upstream repository. The ones removed were poorly maintained/kept up to date with the ones in the parent repository. Going forward only unique repositories or ones with substantial changes will be published and hosted in this repository. --- .github/workflows/apps.yml | 43 --- .github/workflows/bot.yml | 86 ----- .github/workflows/box64.yml | 38 --- .github/workflows/bun.yml | 39 --- .github/workflows/cassandra.yml | 38 --- .github/workflows/dart.yml | 41 --- .github/workflows/dotnet.yml | 45 --- .github/workflows/elixir.yml | 42 --- .github/workflows/erlang.yml | 41 --- .github/workflows/games.yml | 39 +-- .github/workflows/go.yml | 46 --- .github/workflows/installers.yml | 40 --- .github/workflows/java.yml | 46 --- .github/workflows/mariadb.yml | 43 --- .github/workflows/mongodb.yml | 41 --- .github/workflows/mono.yml | 37 --- .github/workflows/nodejs.yml | 47 --- .github/workflows/postgres.yml | 44 --- .github/workflows/python.yml | 45 --- .github/workflows/redis.yml | 41 --- .github/workflows/rust.yml | 41 --- .github/workflows/steamcmd.yml | 40 --- .github/workflows/voice.yml | 67 ---- .github/workflows/wine.yml | 39 --- README.md | 293 +---------------- apps/mediawiki/Dockerfile | 83 ----- apps/mediawiki/entrypoint.sh | 13 - apps/uptimekuma/Dockerfile | 62 ---- apps/uptimekuma/entrypoint.sh | 41 --- bot/bastion/Dockerfile | 26 -- bot/bastion/entrypoint.sh | 45 --- bot/parkertron/Dockerfile | 20 -- bot/parkertron/entrypoint.sh | 13 - bot/red/Dockerfile | 56 ---- bot/red/entrypoint.sh | 13 - bot/sinusbot/Dockerfile | 29 -- bot/sinusbot/entrypoint.sh | 13 - bot/yagpdb/Dockerfile | 60 ---- bot/yagpdb/entrypoint.sh | 13 - box64/Dockerfile | 34 -- box64/entrypoint.sh | 12 - bun/canary/Dockerfile | 20 -- bun/entrypoint.sh | 16 - bun/latest/Dockerfile | 20 -- cassandra/entrypoint.sh | 36 --- cassandra/java11_python3/Dockerfile | 16 - cassandra/java8_python2/Dockerfile | 17 - dart/2.17/Dockerfile | 18 -- dart/2.18/Dockerfile | 18 -- dart/2.19/Dockerfile | 18 -- dart/3.3/Dockerfile | 18 -- dart/entrypoint.sh | 16 - dart/stable/Dockerfile | 18 -- dotnet/2.1/Dockerfile | 25 -- dotnet/3.1/Dockerfile | 26 -- dotnet/5/Dockerfile | 25 -- dotnet/6/Dockerfile | 25 -- dotnet/7/Dockerfile | 25 -- dotnet/8/Dockerfile | 25 -- dotnet/entrypoint.sh | 74 ----- elixir/1.12/Dockerfile | 18 -- elixir/1.13/Dockerfile | 18 -- elixir/1.14/Dockerfile | 18 -- elixir/1.15/Dockerfile | 18 -- elixir/entrypoint.sh | 16 - elixir/latest/Dockerfile | 18 -- erlang/22/Dockerfile | 16 - erlang/23/Dockerfile | 16 - erlang/24/Dockerfile | 16 - erlang/25/Dockerfile | 16 - erlang/26/Dockerfile | 16 - erlang/entrypoint.sh | 25 -- games/altv/Dockerfile | 35 -- games/altv/entrypoint.sh | 13 - games/arma3/Dockerfile | 58 ---- games/arma3/LICENSE.txt | 21 -- games/arma3/README.md | 3 - games/arma3/entrypoint.sh | 406 ------------------------ games/arma3/passwd.template | 26 -- games/dayz/Dockerfile | 54 ---- games/dayz/README.md | 3 - games/dayz/entrypoint.sh | 287 ----------------- games/dayz/passwd.template | 26 -- games/minetest/Dockerfile | 16 - games/minetest/entrypoint.sh | 23 -- games/mohaa/Dockerfile | 12 - games/mohaa/entrypoint.sh | 13 - games/mta/Dockerfile | 23 -- games/mta/entrypoint.sh | 13 - games/rust/Dockerfile | 21 -- games/rust/entrypoint.sh | 48 --- games/rust/wrapper.js | 152 --------- games/samp/Dockerfile | 33 -- games/samp/entrypoint.sh | 12 - games/source/Dockerfile | 60 ---- games/source/entrypoint.sh | 72 ----- games/thebattleforwesnoth/Dockerfile | 25 -- games/thebattleforwesnoth/entrypoint.sh | 13 - games/valheim/Dockerfile | 62 ---- games/valheim/entrypoint.sh | 44 --- games/valheim/passwd.template | 26 -- go/1.14/Dockerfile | 38 --- go/1.15/Dockerfile | 38 --- go/1.16/Dockerfile | 38 --- go/1.17/Dockerfile | 38 --- go/1.18/Dockerfile | 38 --- go/1.19/Dockerfile | 38 --- go/1.20/Dockerfile | 38 --- go/1.21/Dockerfile | 38 --- go/1.22/Dockerfile | 38 --- go/1.23/Dockerfile | 12 - go/entrypoint.sh | 49 --- installers/alpine/Dockerfile | 30 -- installers/debian/Dockerfile | 53 ---- installers/ubuntu/Dockerfile | 34 -- java/11/Dockerfile | 37 --- java/11j9/Dockerfile | 33 -- java/16/Dockerfile | 36 --- java/16j9/Dockerfile | 34 -- java/17/Dockerfile | 36 --- java/19/Dockerfile | 36 --- java/21/Dockerfile | 36 --- java/8/Dockerfile | 36 --- java/8j9/Dockerfile | 33 -- java/entrypoint.sh | 49 --- mariadb/10.3/Dockerfile | 19 -- mariadb/10.4/Dockerfile | 19 -- mariadb/10.5/Dockerfile | 19 -- mariadb/10.6/Dockerfile | 19 -- mariadb/10.7/Dockerfile | 19 -- mariadb/11.2/Dockerfile | 19 -- mariadb/11.3/Dockerfile | 19 -- mariadb/11.4/Dockerfile | 19 -- mariadb/entrypoint.sh | 13 - mongodb/4/Dockerfile | 19 -- mongodb/5/Dockerfile | 19 -- mongodb/6/Dockerfile | 19 -- mongodb/7/Dockerfile | 19 -- mongodb/entrypoint.sh | 13 - mono/entrypoint.sh | 51 --- mono/latest/Dockerfile | 26 -- nodejs/12/Dockerfile | 20 -- nodejs/14/Dockerfile | 20 -- nodejs/16/Dockerfile | 23 -- nodejs/17/Dockerfile | 23 -- nodejs/18/Dockerfile | 25 -- nodejs/19/Dockerfile | 28 -- nodejs/20/Dockerfile | 25 -- nodejs/21/Dockerfile | 25 -- nodejs/22/Dockerfile | 23 -- nodejs/23/Dockerfile | 25 -- nodejs/entrypoint.sh | 16 - postgres/10/Dockerfile | 22 -- postgres/11/Dockerfile | 22 -- postgres/12/Dockerfile | 22 -- postgres/13/Dockerfile | 22 -- postgres/14/Dockerfile | 22 -- postgres/16/Dockerfile | 21 -- postgres/9/Dockerfile | 21 -- postgres/entrypoint.sh | 16 - python/2.7/Dockerfile | 18 -- python/3.10/Dockerfile | 18 -- python/3.11/Dockerfile | 18 -- python/3.12/Dockerfile | 18 -- python/3.7/Dockerfile | 18 -- python/3.8/Dockerfile | 18 -- python/3.9/Dockerfile | 18 -- python/entrypoint.sh | 16 - redis/5/Dockerfile | 20 -- redis/6/Dockerfile | 20 -- redis/7/Dockerfile | 20 -- redis/entrypoint.sh | 13 - rust/1.56/Dockerfile | 18 -- rust/1.60/Dockerfile | 18 -- rust/entrypoint.sh | 16 - rust/latest/Dockerfile | 16 - steamcmd/debian/Dockerfile | 38 --- steamcmd/dotnet/Dockerfile | 38 --- steamcmd/entrypoint.sh | 89 ------ steamcmd/proton/Dockerfile | 48 --- steamcmd/proton_8/Dockerfile | 48 --- steamcmd/sniper/Dockerfile | 31 -- steamcmd/ubuntu/Dockerfile | 37 --- voice/mumble/Dockerfile | 40 --- voice/mumble/build.sh | 155 --------- voice/mumble/entrypoint.sh | 17 - voice/teaspeak/Dockerfile | 56 ---- voice/teaspeak/entrypoint.sh | 24 -- wine/devel/Dockerfile | 41 --- wine/entrypoint.sh | 90 ------ wine/latest/Dockerfile | 41 --- wine/staging/Dockerfile | 41 --- 192 files changed, 8 insertions(+), 6909 deletions(-) delete mode 100644 .github/workflows/apps.yml delete mode 100644 .github/workflows/bot.yml delete mode 100644 .github/workflows/box64.yml delete mode 100644 .github/workflows/bun.yml delete mode 100644 .github/workflows/cassandra.yml delete mode 100644 .github/workflows/dart.yml delete mode 100644 .github/workflows/dotnet.yml delete mode 100644 .github/workflows/elixir.yml delete mode 100644 .github/workflows/erlang.yml delete mode 100644 .github/workflows/go.yml delete mode 100644 .github/workflows/installers.yml delete mode 100644 .github/workflows/java.yml delete mode 100644 .github/workflows/mariadb.yml delete mode 100644 .github/workflows/mongodb.yml delete mode 100644 .github/workflows/mono.yml delete mode 100644 .github/workflows/nodejs.yml delete mode 100644 .github/workflows/postgres.yml delete mode 100644 .github/workflows/python.yml delete mode 100644 .github/workflows/redis.yml delete mode 100644 .github/workflows/rust.yml delete mode 100644 .github/workflows/steamcmd.yml delete mode 100644 .github/workflows/voice.yml delete mode 100644 .github/workflows/wine.yml delete mode 100644 apps/mediawiki/Dockerfile delete mode 100644 apps/mediawiki/entrypoint.sh delete mode 100644 apps/uptimekuma/Dockerfile delete mode 100644 apps/uptimekuma/entrypoint.sh delete mode 100644 bot/bastion/Dockerfile delete mode 100644 bot/bastion/entrypoint.sh delete mode 100644 bot/parkertron/Dockerfile delete mode 100644 bot/parkertron/entrypoint.sh delete mode 100644 bot/red/Dockerfile delete mode 100644 bot/red/entrypoint.sh delete mode 100644 bot/sinusbot/Dockerfile delete mode 100644 bot/sinusbot/entrypoint.sh delete mode 100644 bot/yagpdb/Dockerfile delete mode 100644 bot/yagpdb/entrypoint.sh delete mode 100644 box64/Dockerfile delete mode 100644 box64/entrypoint.sh delete mode 100644 bun/canary/Dockerfile delete mode 100644 bun/entrypoint.sh delete mode 100644 bun/latest/Dockerfile delete mode 100644 cassandra/entrypoint.sh delete mode 100644 cassandra/java11_python3/Dockerfile delete mode 100644 cassandra/java8_python2/Dockerfile delete mode 100644 dart/2.17/Dockerfile delete mode 100644 dart/2.18/Dockerfile delete mode 100644 dart/2.19/Dockerfile delete mode 100644 dart/3.3/Dockerfile delete mode 100644 dart/entrypoint.sh delete mode 100644 dart/stable/Dockerfile delete mode 100644 dotnet/2.1/Dockerfile delete mode 100644 dotnet/3.1/Dockerfile delete mode 100644 dotnet/5/Dockerfile delete mode 100644 dotnet/6/Dockerfile delete mode 100644 dotnet/7/Dockerfile delete mode 100644 dotnet/8/Dockerfile delete mode 100644 dotnet/entrypoint.sh delete mode 100644 elixir/1.12/Dockerfile delete mode 100644 elixir/1.13/Dockerfile delete mode 100644 elixir/1.14/Dockerfile delete mode 100644 elixir/1.15/Dockerfile delete mode 100644 elixir/entrypoint.sh delete mode 100644 elixir/latest/Dockerfile delete mode 100644 erlang/22/Dockerfile delete mode 100644 erlang/23/Dockerfile delete mode 100644 erlang/24/Dockerfile delete mode 100644 erlang/25/Dockerfile delete mode 100644 erlang/26/Dockerfile delete mode 100644 erlang/entrypoint.sh delete mode 100644 games/altv/Dockerfile delete mode 100644 games/altv/entrypoint.sh delete mode 100644 games/arma3/Dockerfile delete mode 100644 games/arma3/LICENSE.txt delete mode 100644 games/arma3/README.md delete mode 100644 games/arma3/entrypoint.sh delete mode 100644 games/arma3/passwd.template delete mode 100644 games/dayz/Dockerfile delete mode 100644 games/dayz/README.md delete mode 100644 games/dayz/entrypoint.sh delete mode 100644 games/dayz/passwd.template delete mode 100644 games/minetest/Dockerfile delete mode 100644 games/minetest/entrypoint.sh delete mode 100644 games/mohaa/Dockerfile delete mode 100644 games/mohaa/entrypoint.sh delete mode 100644 games/mta/Dockerfile delete mode 100644 games/mta/entrypoint.sh delete mode 100644 games/rust/Dockerfile delete mode 100644 games/rust/entrypoint.sh delete mode 100755 games/rust/wrapper.js delete mode 100644 games/samp/Dockerfile delete mode 100644 games/samp/entrypoint.sh delete mode 100644 games/source/Dockerfile delete mode 100644 games/source/entrypoint.sh delete mode 100644 games/thebattleforwesnoth/Dockerfile delete mode 100644 games/thebattleforwesnoth/entrypoint.sh delete mode 100644 games/valheim/Dockerfile delete mode 100644 games/valheim/entrypoint.sh delete mode 100644 games/valheim/passwd.template delete mode 100644 go/1.14/Dockerfile delete mode 100644 go/1.15/Dockerfile delete mode 100644 go/1.16/Dockerfile delete mode 100644 go/1.17/Dockerfile delete mode 100644 go/1.18/Dockerfile delete mode 100644 go/1.19/Dockerfile delete mode 100644 go/1.20/Dockerfile delete mode 100644 go/1.21/Dockerfile delete mode 100644 go/1.22/Dockerfile delete mode 100644 go/1.23/Dockerfile delete mode 100644 go/entrypoint.sh delete mode 100644 installers/alpine/Dockerfile delete mode 100644 installers/debian/Dockerfile delete mode 100644 installers/ubuntu/Dockerfile delete mode 100644 java/11/Dockerfile delete mode 100644 java/11j9/Dockerfile delete mode 100644 java/16/Dockerfile delete mode 100644 java/16j9/Dockerfile delete mode 100644 java/17/Dockerfile delete mode 100644 java/19/Dockerfile delete mode 100644 java/21/Dockerfile delete mode 100644 java/8/Dockerfile delete mode 100644 java/8j9/Dockerfile delete mode 100755 java/entrypoint.sh delete mode 100644 mariadb/10.3/Dockerfile delete mode 100644 mariadb/10.4/Dockerfile delete mode 100644 mariadb/10.5/Dockerfile delete mode 100644 mariadb/10.6/Dockerfile delete mode 100644 mariadb/10.7/Dockerfile delete mode 100644 mariadb/11.2/Dockerfile delete mode 100644 mariadb/11.3/Dockerfile delete mode 100644 mariadb/11.4/Dockerfile delete mode 100644 mariadb/entrypoint.sh delete mode 100644 mongodb/4/Dockerfile delete mode 100644 mongodb/5/Dockerfile delete mode 100644 mongodb/6/Dockerfile delete mode 100644 mongodb/7/Dockerfile delete mode 100644 mongodb/entrypoint.sh delete mode 100644 mono/entrypoint.sh delete mode 100644 mono/latest/Dockerfile delete mode 100644 nodejs/12/Dockerfile delete mode 100644 nodejs/14/Dockerfile delete mode 100644 nodejs/16/Dockerfile delete mode 100644 nodejs/17/Dockerfile delete mode 100644 nodejs/18/Dockerfile delete mode 100644 nodejs/19/Dockerfile delete mode 100644 nodejs/20/Dockerfile delete mode 100644 nodejs/21/Dockerfile delete mode 100644 nodejs/22/Dockerfile delete mode 100644 nodejs/23/Dockerfile delete mode 100644 nodejs/entrypoint.sh delete mode 100644 postgres/10/Dockerfile delete mode 100644 postgres/11/Dockerfile delete mode 100644 postgres/12/Dockerfile delete mode 100644 postgres/13/Dockerfile delete mode 100644 postgres/14/Dockerfile delete mode 100644 postgres/16/Dockerfile delete mode 100644 postgres/9/Dockerfile delete mode 100644 postgres/entrypoint.sh delete mode 100644 python/2.7/Dockerfile delete mode 100644 python/3.10/Dockerfile delete mode 100644 python/3.11/Dockerfile delete mode 100644 python/3.12/Dockerfile delete mode 100644 python/3.7/Dockerfile delete mode 100644 python/3.8/Dockerfile delete mode 100644 python/3.9/Dockerfile delete mode 100644 python/entrypoint.sh delete mode 100644 redis/5/Dockerfile delete mode 100644 redis/6/Dockerfile delete mode 100644 redis/7/Dockerfile delete mode 100644 redis/entrypoint.sh delete mode 100644 rust/1.56/Dockerfile delete mode 100644 rust/1.60/Dockerfile delete mode 100644 rust/entrypoint.sh delete mode 100644 rust/latest/Dockerfile delete mode 100644 steamcmd/debian/Dockerfile delete mode 100644 steamcmd/dotnet/Dockerfile delete mode 100644 steamcmd/entrypoint.sh delete mode 100644 steamcmd/proton/Dockerfile delete mode 100644 steamcmd/proton_8/Dockerfile delete mode 100644 steamcmd/sniper/Dockerfile delete mode 100644 steamcmd/ubuntu/Dockerfile delete mode 100644 voice/mumble/Dockerfile delete mode 100644 voice/mumble/build.sh delete mode 100644 voice/mumble/entrypoint.sh delete mode 100644 voice/teaspeak/Dockerfile delete mode 100644 voice/teaspeak/entrypoint.sh delete mode 100644 wine/devel/Dockerfile delete mode 100644 wine/entrypoint.sh delete mode 100644 wine/latest/Dockerfile delete mode 100644 wine/staging/Dockerfile diff --git a/.github/workflows/apps.yml b/.github/workflows/apps.yml deleted file mode 100644 index 69be773..0000000 --- a/.github/workflows/apps.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: build apps -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - apps/** -jobs: - push: - name: 'yolks:apps_${{ matrix.app }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - app: - # - uptimekuma - - mediawiki - steps: - - uses: actions/checkout@v4 - - - uses: docker/setup-qemu-action@v3 - - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - - uses: docker/build-push-action@v5 - with: - context: ./apps/${{ matrix.app }} - file: ./apps/${{ matrix.app }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/apps:${{ matrix.app }} diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml deleted file mode 100644 index 2b72884..0000000 --- a/.github/workflows/bot.yml +++ /dev/null @@ -1,86 +0,0 @@ -name: build bot -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - bot/** -jobs: - pushArm: - name: 'yolks:bot_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - parkertron - - red - - sinusbot - - bastion - - yagpdb - steps: - - uses: actions/checkout@v3 - - uses: docker/setup-buildx-action@v2 - with: - buildkitd-flags: --debug - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - with: - platforms: arm64,amd64 - - name: Cache Docker layers - uses: actions/cache@v3 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v4 - with: - context: ./bot/${{ matrix.tag }} - file: ./bot/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache-new - push: true - tags: | - ghcr.io/darksaid98/yolks:bot_${{ matrix.tag }} - - name: Move cache - run: | - rm -rf /tmp/.buildx-cache - mv /tmp/.buildx-cache-new /tmp/.buildx-cache - - # pushAmd: - # name: "yolks:bot_${{ matrix.tag }}" - # runs-on: ubuntu-latest - # strategy: - # fail-fast: false - # matrix: - # tag: - # - bastion - # steps: - # - uses: actions/checkout@v2 - # - uses: docker/setup-buildx-action@v1 - # with: - # version: "v0.7.0" - # buildkitd-flags: --debug - # - uses: docker/login-action@v1 - # with: - # registry: ghcr.io - # username: ${{ github.repository_owner }} - # password: ${{ secrets.GITHUB_TOKEN }} - # - uses: docker/build-push-action@v2 - # with: - # context: ./bot/${{ matrix.tag }} - # file: ./bot/${{ matrix.tag }}/Dockerfile - # platforms: linux/amd64 - # push: true - # tags: | - # ghcr.io/darksaid98/yolks:bot_${{ matrix.tag }} diff --git a/.github/workflows/box64.yml b/.github/workflows/box64.yml deleted file mode 100644 index 6ffa0e8..0000000 --- a/.github/workflows/box64.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: build box64 -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - box64/** -jobs: - push: - name: 'yolks:${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - box64 - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./box64 - file: ./${{ matrix.tag }}/Dockerfile - platforms: linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:${{ matrix.tag }} diff --git a/.github/workflows/bun.yml b/.github/workflows/bun.yml deleted file mode 100644 index cdeb177..0000000 --- a/.github/workflows/bun.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: build bun -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - bun/** -jobs: - push: - name: 'yolks:bun_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - latest - - canary - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./bun - file: ./bun/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:bun_${{ matrix.tag }} diff --git a/.github/workflows/cassandra.yml b/.github/workflows/cassandra.yml deleted file mode 100644 index 7aad6b9..0000000 --- a/.github/workflows/cassandra.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: build cassandra -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - cassandra/** -jobs: - push: - name: 'yolks:cassandra_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - java8_python2 - - java11_python3 - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./cassandra - file: ./cassandra/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ghcr.io/darksaid98/yolks:cassandra_${{ matrix.tag }} diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml deleted file mode 100644 index b3e03e2..0000000 --- a/.github/workflows/dart.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: build dart -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - dart/** -jobs: - push: - name: 'yolks:dart_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - 2.17 - - 2.18 - - 2.19 - steps: - - uses: actions/checkout@v3 - # Setup QEMU for ARM64 Build - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./dart - file: ./dart/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:dart_${{ matrix.tag }} diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml deleted file mode 100644 index 1c6c318..0000000 --- a/.github/workflows/dotnet.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: build dotnet -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - dotnet/** -jobs: - push: - name: 'yolks:dotnet_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - 2.1 - - 3.1 - - 5 - - 6 - - 7 - - 8 - steps: - - uses: - actions/checkout@v4 - # Setup QEMU for ARM64 Build - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./dotnet - file: ./dotnet/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:dotnet_${{ matrix.tag }} diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml deleted file mode 100644 index 4e37770..0000000 --- a/.github/workflows/elixir.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: build elixir -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - elixir/** -jobs: - push: - name: 'yolks:elixir_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - '1.15' - - '1.14' - - '1.13' - - '1.12' - - latest - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./elixir - file: ./elixir/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:elixir_${{ matrix.tag }} diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml deleted file mode 100644 index 376361b..0000000 --- a/.github/workflows/erlang.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: build erlang -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - erlang/** -jobs: - push: - name: 'yolks:erlang_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - 22 - - 23 - - 24 - - 25 - - 26 - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./erlang - file: ./erlang/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:erlang_${{ matrix.tag }} diff --git a/.github/workflows/games.yml b/.github/workflows/games.yml index 830f784..ef32c80 100644 --- a/.github/workflows/games.yml +++ b/.github/workflows/games.yml @@ -16,13 +16,7 @@ jobs: fail-fast: false matrix: game: - - altv - - arma3 - - dayz - fivem - - mohaa - - samp - - source steps: - uses: actions/checkout@v4 @@ -42,35 +36,4 @@ jobs: push: true tags: | ghcr.io/darksaid98/games:${{ matrix.game }} - pushAll: - name: 'games_All:${{ matrix.game }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - game: - - minetest - - mta - - valheim - steps: - - uses: actions/checkout@v4 - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - with: - platforms: arm64,amd64 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./games/${{ matrix.game }} - file: ./games/${{ matrix.game }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/games:${{ matrix.game }} + diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml deleted file mode 100644 index 5b60aab..0000000 --- a/.github/workflows/go.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: build go -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - go/** -jobs: - push: - name: 'yolks:go_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - '1.14' - - '1.15' - - '1.16' - - '1.17' - - '1.18' - - '1.19' - - '1.20' - - '1.21' - - '1.22' - - '1.23' - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./go - file: ./go/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ghcr.io/darksaid98/yolks:go_${{ matrix.tag }} diff --git a/.github/workflows/installers.yml b/.github/workflows/installers.yml deleted file mode 100644 index 78cab85..0000000 --- a/.github/workflows/installers.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: build installers -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - installers/** -jobs: - push: - name: 'installers:{{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - alpine - - debian - - ubuntu - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./installers - file: ./installers/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/installers:${{ matrix.tag }} diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml deleted file mode 100644 index 134e2f3..0000000 --- a/.github/workflows/java.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: build java -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - java/** -jobs: - push: - name: 'yolks:java_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - 8 - # - 8j9 - - 11 - # - 11j9 - - 16 - # - 16j9 - - 17 - - 19 - - 21 - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./java - file: ./java/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:java_${{ matrix.tag }} diff --git a/.github/workflows/mariadb.yml b/.github/workflows/mariadb.yml deleted file mode 100644 index 9db63b7..0000000 --- a/.github/workflows/mariadb.yml +++ /dev/null @@ -1,43 +0,0 @@ -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@v4 - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./mariadb - file: ./mariadb/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:mariadb_${{ matrix.tag }} diff --git a/.github/workflows/mongodb.yml b/.github/workflows/mongodb.yml deleted file mode 100644 index 329631d..0000000 --- a/.github/workflows/mongodb.yml +++ /dev/null @@ -1,41 +0,0 @@ -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 - - 6 - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./mongodb - file: ./mongodb/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:mongodb_${{ matrix.tag }} diff --git a/.github/workflows/mono.yml b/.github/workflows/mono.yml deleted file mode 100644 index 04e8a2b..0000000 --- a/.github/workflows/mono.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: build mono -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - mono/** -jobs: - push: - name: 'yolks:mono_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - latest - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./mono - file: ./mono/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:mono_${{ matrix.tag }} diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml deleted file mode 100644 index 4b2a8b9..0000000 --- a/.github/workflows/nodejs.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: build nodejs -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - nodejs/** -jobs: - push: - name: 'yolks:nodejs_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - 12 - - 14 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - steps: - - uses: actions/checkout@v4 - # Setup QEMU for ARM64 Build - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./nodejs - file: ./nodejs/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:nodejs_${{ matrix.tag }} diff --git a/.github/workflows/postgres.yml b/.github/workflows/postgres.yml deleted file mode 100644 index b03da1d..0000000 --- a/.github/workflows/postgres.yml +++ /dev/null @@ -1,44 +0,0 @@ -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@v4 - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./postgres - file: ./postgres/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:postgres_${{ matrix.tag }} diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml deleted file mode 100644 index f25aa35..0000000 --- a/.github/workflows/python.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: build python -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - python/** -jobs: - push: - name: 'yolks:python_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - '2.7' - - '3.7' - - '3.8' - - '3.9' - - '3.10' - - '3.11' - - '3.12' - steps: - - uses: actions/checkout@v4 - # Setup QEMU for ARM64 Build - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./python - file: ./python/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:python_${{ matrix.tag }} diff --git a/.github/workflows/redis.yml b/.github/workflows/redis.yml deleted file mode 100644 index 3f2f429..0000000 --- a/.github/workflows/redis.yml +++ /dev/null @@ -1,41 +0,0 @@ -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 - - 7 - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./redis - file: ./redis/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:redis_${{ matrix.tag }} diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml deleted file mode 100644 index 7d3abc7..0000000 --- a/.github/workflows/rust.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: build rust -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - rust/** -jobs: - push: - name: 'yolks:rust_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - '1.56' - - '1.60' - - 'latest' - steps: - - uses: actions/checkout@v4 - # Setup QEMU for ARM64 Build - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./rust - file: ./rust/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:rust_${{ matrix.tag }} diff --git a/.github/workflows/steamcmd.yml b/.github/workflows/steamcmd.yml deleted file mode 100644 index d1dbaae..0000000 --- a/.github/workflows/steamcmd.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: build steamcmd -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - steamcmd/** -jobs: - push: - name: 'steamcmd:${{ matrix.distro }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - distro: - - debian - - ubuntu - - dotnet - - proton - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./steamcmd - file: ./steamcmd/${{ matrix.distro }}/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ghcr.io/darksaid98/steamcmd:${{ matrix.distro }} diff --git a/.github/workflows/voice.yml b/.github/workflows/voice.yml deleted file mode 100644 index 26d78c2..0000000 --- a/.github/workflows/voice.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: build voice -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - voice/** -jobs: - pushx64: - name: 'yolks:voice_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - teaspeak - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./voice/${{ matrix.tag }} - file: ./voice/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ghcr.io/darksaid98/yolks:voice_${{ matrix.tag }} - - pushx64_arm64: - name: 'yolks:voice_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - mumble - steps: - - uses: actions/checkout@v4 - # Setup QEMU for ARM64 Build - - uses: docker/setup-qemu-action@v3 - - uses: docker/setup-buildx-action@v3 - with: - version: 'v0.8.2' - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v3 - with: - context: ./voice/${{ matrix.tag }} - file: ./voice/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/darksaid98/yolks:voice_${{ matrix.tag }} diff --git a/.github/workflows/wine.yml b/.github/workflows/wine.yml deleted file mode 100644 index b5a9d07..0000000 --- a/.github/workflows/wine.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: build wine -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 1' - push: - branches: - - master - paths: - - wine/** -jobs: - push: - name: 'yolks:wine_${{ matrix.tag }}' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - latest - - devel - - staging - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v5 - with: - context: ./wine - file: ./wine/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ghcr.io/darksaid98/yolks:wine_${{ matrix.tag }} diff --git a/README.md b/README.md index e5daafe..b3c3f03 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,6 @@ is used when determining which space an image will live under: - `games` — anything within the `games` folder in the repository. These are images built for running a specific game or type of game. -- `installers` — anything living within the `installers` directory. These images are used by install scripts for different - Eggs within Pterodactyl, not for actually running a game server. These images are only designed to reduce installation time - and network usage by pre-installing common installation dependencies such as `curl` and `wget`. - `yolks` — these are more generic images that allow different types of games or scripts to run. They're generally just a specific version of software and allow different Eggs within Pterodactyl to switch out the underlying implementation. An example of this would be something like Java or Python which are used for running bots, Minecraft servers, etc. @@ -35,290 +32,14 @@ is tagged correctly. - [ubuntu](/oses/ubuntu) - `ghcr.io/darksaid98/yolks:ubuntu` -### [Apps](/apps) - -- [`uptimekuma`](/apps/uptimekuma) - - `ghcr.io/darksaid98/yolks:apps_uptimekuma` - -### [Bot](/bot) - -- [`bastion`](/bot/bastion) - - `ghcr.io/darksaid98/yolks:bot_bastion` -- [`parkertron`](/bot/parkertron) - - `ghcr.io/darksaid98/yolks:bot_parkertron` -- [`redbot`](/bot/red) - - `ghcr.io/darksaid98/yolks:bot_red` -- [`sinusbot`](/bot/sinusbot) - - `ghcr.io/darksaid98/yolks:bot_sinusbot` - -### [Box64](/box64) - -- [`Box64`](/box64) - - `ghcr.io/darksaid98/yolks:box64` - -### [Bun](/bun) - -- [`Bun Canary`](/bun/canary) - - `ghcr.io/darksaid98/yolks:bun_canary` -- [`Bun Latest`](/bun/latest) - - `ghcr.io/darksaid98/yolks:bun_latest` - -### [Cassandra](/cassandra) - -- [`cassandra_java8_python27`](/cassandra/cassandra_java8_python2) - - `ghcr.io/darksaid98/yolks:cassandra_java11_python2` -- [`cassandra_java11_python3`](/cassandra/cassandra_java11_python3) - - `ghcr.io/darksaid98/yolks:cassandra_java11_python3` - -### [Dart](/dart) - -- [`dart2.17`](/dart/2.17) - - `ghcr.io/darksaid98/yolks:dart_2.17` -- [`dart2.18`](/dart/2.18) - - `ghcr.io/darksaid98/yolks:dart_2.18` -- [`dart2.19`](/dart/2.19) - - `ghcr.io/darksaid98/yolks:dart_2.19` -- [`dart3.3`](/dart/3.3) - - `ghcr.io/darksaid98/yolks:dart_3.3` -- [`dart stable`](/dart/stable) - - `ghcr.io/darksaid98/yolks:dart_stable` - -### [dotNet](/dotnet) - -- [`dotnet2.1`](/dotnet/2.1) - - `ghcr.io/darksaid98/yolks:dotnet_2.1` -- [`dotnet3.1`](/dotnet/3.1) - - `ghcr.io/darksaid98/yolks:dotnet_3.1` -- [`dotnet5.0`](/dotnet/5) - - `ghcr.io/darksaid98/yolks:dotnet_5` -- [`dotnet6.0`](/dotnet/6) - - `ghcr.io/darksaid98/yolks:dotnet_6` -- [`dotnet7.0`](/dotnet/7) - - `ghcr.io/darksaid98/yolks:dotnet_7` -- [`dotnet8.0`](/dotnet/8) - - `ghcr.io/darksaid98/yolks:dotnet_8` - -### [Elixir](/elixir) - -- [`elixir 1.12`](/elixir/1.12) - - `ghcr.io/darksaid98/yolks:elixir_1.12` -- [`elixir 1.13`](/elixir/1.13) - - `ghcr.io/darksaid98/yolks:elixir_1.13` -- [`elixir 1.14`](/elixir/1.14) - - `ghcr.io/darksaid98/yolks:elixir_1.14` -- [`elixir 1.15`](/elixir/1.12) - - `ghcr.io/darksaid98/yolks:elixir_1.15` -- [`elixir latest`](/elixir/latest) - - `ghcr.io/darksaid98/yolks:elixir_latest` - -### [Erlang](/erlang) - -- [`erlang22`](/erlang/22) - - `ghcr.io/darksaid98/yolks:erlang_22` -- [`erlang23`](/erlang/23) - - `ghcr.io/darksaid98/yolks:erlang_23` -- [`erlang24`](/erlang/24) - - `ghcr.io/darksaid98/yolks:erlang_24` - ### [Games](/games) -- [`altv`](/games/altv) - - `ghcr.io/darksaid98/games:altv` -- [`arma3`](/games/arma3) - - `ghcr.io/darksaid98/games:arma3` -- [`dayz`](/games/dayz) - - `ghcr.io/darksaid98/games:dayz` -- [`minetest`](/games/minetest) - - `ghcr.io/darksaid98/games:minetest` -- [`mohaa`](games/mohaa) - - `ghcr.io/darksaid98/games:mohaa` -- [`Multi Theft Auto: San Andreas`](games/mta) - - `ghcr.io/darksaid98/games:mta` -- [`Rust (dedicated server)`](games/rust) - - `ghcr.io/darksaid98/games:rust` -- [`samp`](/games/samp) - - `ghcr.io/darksaid98/games:samp` -- [`source`](/games/source) - - `ghcr.io/darksaid98/games:source` -- [`thebattleforwesnoth`](/games/thebattleforwesnoth) - - `ghcr.io/darksaid98/games:thebattleforwesnoth` -- [`valheim`](/games/valheim) - - `ghcr.io/darksaid98/games:valheim` +- [`fivem`](/games/fivem) + - `ghcr.io/darksaid98/games:fivem` -### [Golang](/go) +### [GraalVM](/graakvm) -- [`go1.14`](/go/1.14) - - `ghcr.io/darksaid98/yolks:go_1.14` -- [`go1.15`](/go/1.15) - - `ghcr.io/darksaid98/yolks:go_1.15` -- [`go1.16`](/go/1.16) - - `ghcr.io/darksaid98/yolks:go_1.16` -- [`go1.17`](/go/1.17) - - `ghcr.io/darksaid98/yolks:go_1.17` -- [`go1.18`](/go/1.18) - - `ghcr.io/darksaid98/yolks:go_1.18` -- [`go1.19`](/go/1.19) - - `ghcr.io/darksaid98/yolks:go_1.19` -- [`go1.20`](/go/1.20) - - `ghcr.io/darksaid98/yolks:go_1.20` -- [`go1.21`](/go/1.21) - - `ghcr.io/darksaid98/yolks:go_1.21` -- [`go1.22`](/go/1.22) - - `ghcr.io/darksaid98/yolks:go_1.22` - -### [Java](/java) - -- [`java8`](/java/8) - - `ghcr.io/darksaid98/yolks:java_8` -- [`java11`](/java/11) - - `ghcr.io/darksaid98/yolks:java_11` -- [`java16`](/java/16) - - `ghcr.io/darksaid98/yolks:java_16` -- [`java17`](/java/17) - - `ghcr.io/darksaid98/yolks:java_17` -- [`java19`](/java/19) - - `ghcr.io/darksaid98/yolks:java_19` -- [`java21`](/java/21) - - `ghcr.io/darksaid98/yolks:java_21` - -### [MariaDB](/mariadb) - -- [`MariaDB 10.3`](/mariadb/10.3) - - `ghcr.io/darksaid98/yolks:mariadb_10.3` -- [`MariaDB 10.4`](/mariadb/10.4) - - `ghcr.io/darksaid98/yolks:mariadb_10.4` -- [`MariaDB 10.5`](/mariadb/10.5) - - `ghcr.io/darksaid98/yolks:mariadb_10.5` -- [`MariaDB 10.6`](/mariadb/10.6) - - `ghcr.io/darksaid98/yolks:mariadb_10.6` -- [`MariaDB 10.7`](/mariadb/10.7) - - `ghcr.io/darksaid98/yolks:mariadb_10.7` -- [`MariaDB 11.2`](/mariadb/11.2) - - `ghcr.io/darksaid98/yolks:mariadb_11.2` -- [`MariaDB 11.3`](/mariadb/11.3) - - `ghcr.io/darksaid98/yolks:mariadb_11.3` -- [`MariaDB 11.4`](/mariadb/11.4) - - `ghcr.io/darksaid98/yolks:mariadb_11.4` - -### [MongoDB](/mongodb) - -- [`MongoDB 4`](/mongodb/4) - - `ghcr.io/darksaid98/yolks:mongodb_4` -- [`MongoDB 5`](/mongodb/5) - - `ghcr.io/darksaid98/yolks:mongodb_5` -- [`MongoDB 6`](/mongodb/6) - - `ghcr.io/darksaid98/yolks:mongodb_6` -- [`MongoDB 7`](/mongodb/7) - - `ghcr.io/darksaid98/yolks:mongodb_7` - -### [Mono](/mono) - -- [`mono_latest`](/mono/latest) - - `ghcr.io/darksaid98/yolks:mono_latest` - -### [Nodejs](/nodejs) - -- [`node12`](/nodejs/12) - - `ghcr.io/darksaid98/yolks:nodejs_12` -- [`node14`](/nodejs/14) - - `ghcr.io/darksaid98/yolks:nodejs_14` -- [`node16`](/nodejs/16) - - `ghcr.io/darksaid98/yolks:nodejs_16` -- [`node17`](/nodejs/17) - - `ghcr.io/darksaid98/yolks:nodejs_17` -- [`node18`](/nodejs/18) - - `ghcr.io/darksaid98/yolks:nodejs_18` -- [`node19`](/nodejs/19) - - `ghcr.io/darksaid98/yolks:nodejs_19` -- [`node20`](/nodejs/20) - - `ghcr.io/darksaid98/yolks:nodejs_20` -- [`node21`](/nodejs/21) - - `ghcr.io/darksaid98/yolks:nodejs_21` -- [`node23`](/nodejs/23) - - `ghcr.io/darksaid98/yolks:nodejs_23` - -### [PostgreSQL](/postgres) - -- [`Postgres 9`](/postgres/9) - - `ghcr.io/darksaid98/yolks:postgres_9` -- [`Postgres 10`](/postgres/10) - - `ghcr.io/darksaid98/yolks:postgres_10` -- [`Postgres 11`](/postgres/11) - - `ghcr.io/darksaid98/yolks:postgres_11` -- [`Postgres 12`](/postgres/12) - - `ghcr.io/darksaid98/yolks:postgres_12` -- [`Postgres 13`](/postgres/13) - - `ghcr.io/darksaid98/yolks:postgres_13` -- [`Postgres 14`](/postgres/14) - - `ghcr.io/darksaid98/yolks:postgres_14` - -### [Python](/python) - -- [`python3.7`](/python/3.7) - - `ghcr.io/darksaid98/yolks:python_3.7` -- [`python3.8`](/python/3.8) - - `ghcr.io/darksaid98/yolks:python_3.8` -- [`python3.9`](/python/3.9) - - `ghcr.io/darksaid98/yolks:python_3.9` -- [`python3.10`](/python/3.10) - - `ghcr.io/darksaid98/yolks:python_3.10` -- [`python3.11`](/python/3.11) - - `ghcr.io/darksaid98/yolks:python_3.11` -- [`python3.12`](/python/3.12) - - `ghcr.io/darksaid98/yolks:python_3.12` - -### [Redis](/redis) - -- [`Redis 5`](/redis/5) - - `ghcr.io/darksaid98/yolks:redis_5` -- [`Redis 6`](/redis/6) - - `ghcr.io/darksaid98/yolks:redis_6` -- [`Redis 7`](/redis/7) - - `ghcr.io/darksaid98/yolks:redis_7` - -### [Rust](/rust) - -- ['rust1.56'](/rust/1.56) - - `ghcr.io/darksaid98/yolks:rust_1.56` -- ['rust1.60'](/rust/1.60) - - `ghcr.io/darksaid98/yolks:rust_1.60` -- ['rust latest'](/rust/latest) - - `ghcr.io/darksaid98/yolks:rust_latest` - -### [SteamCMD](/steamcmd) - -- [`SteamCMD Debian lastest`](/steamcmd/debian) - - `ghcr.io/darksaid98/steamcmd:debian` -- [`SteamCMD Debian Dotnet`](/steamcmd/dotnet) - - `ghcr.io/darksaid98/steamcmd:dotnet` -- [`SteamCMD Proton`](/steamcmd/proton) - - `ghcr.io/darksaid98/steamcmd:proton` -- [`SteamCMD Proton`](/steamcmd/proton_8) - - `ghcr.io/darksaid98/steamcmd:proton_8` -- [`SteamCMD Sniper latest`](/steamcmd/sniper) - - `ghcr.io/darksaid98/steamcmd:sniper` -- [`SteamCMD Ubuntu latest LTS`](/steamcmd/ubuntu) - - `ghcr.io/darksaid98/steamcmd:ubuntu` - -### [Voice](/voice) - -- [`Mumble`](/voice/mumble) - - `ghcr.io/darksaid98/yolks:voice_mumble` -- [`TeaSpeak`](/voice/teaspeak) - - `ghcr.io/darksaid98/yolks:voice_teaspeak` - -### [Wine](/wine) - -- [`Wine`](/wine) - - `ghcr.io/darksaid98/yolks:wine_latest` - - `ghcr.io/darksaid98/yolks:wine_devel` - - `ghcr.io/darksaid98/yolks:wine_staging` - -### [Installation Images](/installers) - -- [`alpine-install`](/installers/alpine) - - `ghcr.io/darksaid98/installers:alpine` -- [`debian-install`](/installers/debian) - - `ghcr.io/darksaid98/installers:debian` -- [`ubuntu-install`](/installers/ubuntu) - - `ghcr.io/darksaid98/installers:ubuntu` +- [`17`](/graakvm/17) + - `ghcr.io/darksaid98/graakvm:17` +- [`21`](/graakvm/21) + - `ghcr.io/darksaid98/graakvm:21` diff --git a/apps/mediawiki/Dockerfile b/apps/mediawiki/Dockerfile deleted file mode 100644 index 8bd0b7e..0000000 --- a/apps/mediawiki/Dockerfile +++ /dev/null @@ -1,83 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH php:8.1-fpm - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL author="darksaid98" maintainer="darksaid9889@gmail.com" - -ENV DEBIAN_FRONTEND=noninteractive - -# System dependencies -RUN set -eux; \ - \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - git \ - librsvg2-bin \ - imagemagick \ - # Required for SyntaxHighlighting - python3 \ - ; \ - rm -rf /var/lib/apt/lists/* - -# Install the PHP extensions we need -RUN set -eux; \ - \ - savedAptMark="$(apt-mark showmanual)"; \ - \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - libicu-dev \ - libonig-dev \ - liblua5.1-0-dev \ - ; \ - \ - docker-php-ext-install -j "$(nproc)" \ - calendar \ - intl \ - mbstring \ - mysqli \ - opcache \ - ; \ - \ - pecl install APCu-5.1.24; \ - pecl install LuaSandbox-4.1.2; \ - docker-php-ext-enable \ - apcu \ - luasandbox \ - ; \ - rm -r /tmp/pear; \ - \ - # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies - apt-mark auto '.*' > /dev/null; \ - apt-mark manual $savedAptMark; \ - ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ - | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ - | sort -u \ - | xargs -r dpkg-query --search \ - | cut -d: -f1 \ - | sort -u \ - | xargs -rt apt-mark manual; \ - \ - apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ - rm -rf /var/lib/apt/lists/* - - -# set recommended PHP.ini settings -# see https://secure.php.net/manual/en/opcache.installation.php -RUN { \ - echo 'opcache.memory_consumption=128'; \ - echo 'opcache.interned_strings_buffer=8'; \ - echo 'opcache.max_accelerated_files=4000'; \ - echo 'opcache.revalidate_freq=60'; \ - } > /usr/local/etc/php/conf.d/opcache-recommended.ini - -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"] diff --git a/apps/mediawiki/entrypoint.sh b/apps/mediawiki/entrypoint.sh deleted file mode 100644 index 461e6b9..0000000 --- a/apps/mediawiki/entrypoint.sh +++ /dev/null @@ -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 ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g') -echo -e ":/home/container$ ${MODIFIED_STARTUP}" - -# Run the Server -eval ${MODIFIED_STARTUP} diff --git a/apps/uptimekuma/Dockerfile b/apps/uptimekuma/Dockerfile deleted file mode 100644 index 2fd2a39..0000000 --- a/apps/uptimekuma/Dockerfile +++ /dev/null @@ -1,62 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:18-alpine - -LABEL author="Torsten Widmann" maintainer="info@goover.de" -LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk update \ - && apk upgrade - -RUN apk add --no-cache \ - autoconf \ - automake \ - build-base \ - ca-certificates\ - chromium \ - curl \ - bind-tools \ - ffmpeg \ - g++ \ - git \ - gpg \ - gnupg \ - iproute2 \ - iputils-ping \ - libtool \ - musl \ - musl-utils \ - musl-locales \ - python3 \ - python3-dev \ - py3-pip \ - pipx \ - sqlite \ - tzdata \ - zip \ - libc6-compat \ - tini - -# updating npm -RUN npm install npm@latest -g - -# download cloudflared -ARG TARGETPLATFORM -RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ARCHITECTURE=amd64; elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then ARCHITECTURE=arm64; fi \ - && curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-${ARCHITECTURE} -o /usr/bin/cloudflared -RUN chmod +x /usr/bin/cloudflared - -# install apprise -RUN pipx install apprise - -## Setup user and working directory -RUN adduser -D -h /home/container container -s /bin/bash container -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 ["/sbin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] \ No newline at end of file diff --git a/apps/uptimekuma/entrypoint.sh b/apps/uptimekuma/entrypoint.sh deleted file mode 100644 index 7120b8e..0000000 --- a/apps/uptimekuma/entrypoint.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/ash -#System variables -clear -RED='\033[0;31m' -GREEN='\033[0;32m' -YELLOW='\033[1;33m' -BLUE='\033[0;34m' -NC='\033[0m' - -# Switch to the container's working directory -cd /home/container || exit 1 - -# Wait for the container to fully initialize -sleep 1 - -# Default the TZ environment variable to UTC. -TZ=${TZ:-UTC} -export TZ - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# system informations -echo -e "${BLUE}-------------------------------------------------${NC}" -echo -e "${RED}Uptime Kuma Image${NC}" -echo -e "${BLUE}-------------------------------------------------${NC}" -echo -e "${YELLOW}Running on Alpine: ${RED} $(cat /etc/alpine-release)${NC}" -echo -e "${YELLOW}Current timezone: ${RED} ${TZ} ${NC}" -echo -e "${YELLOW}NodeJS Version: ${RED} $(node -v) ${NC}" -echo -e "${YELLOW}Cloudflared Version: ${RED} $(/usr/bin/cloudflared --version) ${NC}" -echo -e "${BLUE}-------------------------------------------------${NC}" - -export PATH=$PATH:/root/.local/bin - -# 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} diff --git a/bot/bastion/Dockerfile b/bot/bastion/Dockerfile deleted file mode 100644 index b1a7a6f..0000000 --- a/bot/bastion/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -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"] \ No newline at end of file diff --git a/bot/bastion/entrypoint.sh b/bot/bastion/entrypoint.sh deleted file mode 100644 index 8e8544f..0000000 --- a/bot/bastion/entrypoint.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash -#Variables -RED='\033[0;31m' -GREEN='\033[0;32m' -YELLOW='\033[1;33m' -BLUE='\033[0;34m' -NC='\033[0m' - -clear -#show versions -echo -e "${BLUE}-------------------------------------------------${NC}" -echo -e "${YELLOW}BastionBot Installation${NC}" -echo -e "${BLUE}-------------------------------------------------${NC}" -echo -e "${YELLOW}MongoDB Version:${NC} " && mongod --version -echo -e "${YELLOW}NodeJS Version:${NC} " && node -v -echo -e "${YELLOW}Python Version:${NC} " && python3 --version -echo -e "${BLUE}-------------------------------------------------${NC}" - -cd /home/container - -# Set environment variable that holds the Internal Docker IP -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 "${YELLOW}:/home/container${NC} ${MODIFIED_STARTUP}" - -# start mongo -echo -e "${BLUE}-------------------------------------------------${NC}" -echo -e "${YELLOW}starting MongoDB...${NC}" -echo -e "${BLUE}-------------------------------------------------${NC}" -mongod --fork --dbpath /home/container/mongodb/ --port 27017 --logpath /home/container/mongod.log --logRotate reopen --logappend && until nc -z -v -w5 127.0.0.1 27017; do - echo 'Waiting for mongodb connection...' - sleep 5 -done - -# Run the Server -echo -e "${BLUE}-------------------------------------------------${NC}" -echo -e "${YELLOW}BastionBot starting...${NC}" -echo -e "${BLUE}-------------------------------------------------${NC}" -eval ${MODIFIED_STARTUP} - -# stop mongo -mongod --eval "db.adminCommand({ "shutdown" : 1 })" diff --git a/bot/parkertron/Dockerfile b/bot/parkertron/Dockerfile deleted file mode 100644 index ddf36fd..0000000 --- a/bot/parkertron/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt update -y \ - # general packages - && apt install -y iproute2 ca-certificates \ - # additional packages for tesseract and eng lang support - libtesseract-dev tesseract-ocr-eng \ - # add container user to run application - && useradd -m -d /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./entrypoint.sh /entrypoint.sh -CMD ["/bin/bash", "/entrypoint.sh"] diff --git a/bot/parkertron/entrypoint.sh b/bot/parkertron/entrypoint.sh deleted file mode 100644 index d894541..0000000 --- a/bot/parkertron/entrypoint.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -cd /home/container - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# 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} diff --git a/bot/red/Dockerfile b/bot/red/Dockerfile deleted file mode 100644 index 8e1b834..0000000 --- a/bot/red/Dockerfile +++ /dev/null @@ -1,56 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH python:3.11-slim-bookworm - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - - -RUN mkdir -p /usr/share/man/man1 -RUN apt update \ - && apt -y upgrade \ - && apt -y install \ - git \ - ca-certificates \ - dnsutils \ - iproute2 \ - wget \ - curl \ - xz-utils \ - openjdk-17-jre-headless \ - zlib1g-dev \ - libffi-dev \ - libmagickwand-dev \ - unzip \ - libaa1-dev \ - build-essential \ - tk-dev \ - libncurses5-dev \ - libncursesw5-dev \ - libreadline6-dev \ - libdb5.3-dev \ - libgdbm-dev \ - libsqlite3-dev \ - libssl-dev \ - libbz2-dev \ - libexpat1-dev \ - liblzma-dev \ - ffmpeg \ - imagemagick \ - tini - -RUN pip install --upgrade pip -RUN pip install python-forecastio tweepy unidecode mcstatus bs4 sqlalchemy geocoder valve python-valve py-cpuinfo psutil - -RUN mkdir -p /home/container/.config/Red-DiscordBot/ -RUN ln -s /home/container/.config/Red-DiscordBot/ /usr/local/share/Red-DiscordBot - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -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"] diff --git a/bot/red/entrypoint.sh b/bot/red/entrypoint.sh deleted file mode 100644 index d5bdcc7..0000000 --- a/bot/red/entrypoint.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -cd /home/container - -# Set environment variable that holds the Internal Docker IP -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} diff --git a/bot/sinusbot/Dockerfile b/bot/sinusbot/Dockerfile deleted file mode 100644 index 8ebc91d..0000000 --- a/bot/sinusbot/Dockerfile +++ /dev/null @@ -1,29 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim - -LABEL org.opencontainers.image.authors="i2007@damw.eu" -LABEL version="1.0" - -ENV DEBIAN_FRONTEND=noninteractive - -# Install Dependencies -RUN apt update \ - && apt upgrade -y \ - && apt install -y ca-certificates less locales pulseaudio python3 python3-pip sudo x11vnc x11-xkb-utils xvfb iproute2 ffmpeg curl liblcms2-2 libatomic1 libxcb-xinerama0 \ - fontconfig libasound2 libegl1-mesa libglib2.0-0 libnss3 libpci3 libpulse0 libxcursor1 libxslt1.1 libx11-xcb1 libxkbcommon0 bzip2 libxss1 libxcomposite1 libevent-2.1-7 \ - libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xkb1 libxkbcommon-x11-0 tini \ - && useradd -m -d /home/container container -#RUN python3 -m pip install requests - -ENV LANG C.UTF-8 -ENV LC_ALL C.UTF-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", "--"] -CMD ["/entrypoint.sh"] diff --git a/bot/sinusbot/entrypoint.sh b/bot/sinusbot/entrypoint.sh deleted file mode 100644 index d894541..0000000 --- a/bot/sinusbot/entrypoint.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -cd /home/container - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# 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} diff --git a/bot/yagpdb/Dockerfile b/bot/yagpdb/Dockerfile deleted file mode 100644 index bfb9282..0000000 --- a/bot/yagpdb/Dockerfile +++ /dev/null @@ -1,60 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH golang:1.23.3 AS builder - -ENV DEBIAN_FRONTEND=noninteractive - - -WORKDIR /appbuild/yagpdb - -RUN apt update -y \ - && apt upgrade -y \ - && apt install -y apt-transport-https wget curl git tar - -RUN git clone https://github.com/botlabs-gg/yagpdb.git . - -RUN go mod download - -COPY . . - -WORKDIR /appbuild/yagpdb/cmd/yagpdb -RUN CGO_ENABLED=0 GOOS=linux go build -v -ldflags "-X github.com/botlabs-gg/yagpdb/v2/common.VERSION=$(git describe --tags)" - - - -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim - -ENV DEBIAN_FRONTEND=noninteractive - -RUN mkdir -p /usr/bin/ -RUN mkdir -p /usr/local/bin/ - - -# Dependencies: ca-certificates for client TLS, tzdata for timezone and ffmpeg for soundboard support -RUN apt update -y \ - && apt upgrade -y \ - && apt install -y \ - git \ - ca-certificates \ - dnsutils \ - iproute2 \ - wget \ - curl \ - xz-utils \ - ffmpeg \ - tzdata \ - tini - -COPY --from=builder /appbuild/yagpdb/cmd/yagpdb/yagpdb /usr/local/bin/yagpdb -RUN chmod +x /usr/local/bin/yagpdb - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -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"] diff --git a/bot/yagpdb/entrypoint.sh b/bot/yagpdb/entrypoint.sh deleted file mode 100644 index d5bdcc7..0000000 --- a/bot/yagpdb/entrypoint.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -cd /home/container - -# Set environment variable that holds the Internal Docker IP -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} diff --git a/box64/Dockerfile b/box64/Dockerfile deleted file mode 100644 index c275ba9..0000000 --- a/box64/Dockerfile +++ /dev/null @@ -1,34 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim - -LABEL author="QuintenQVD" maintainer="josdekurk@gmail.com" - -ENV DEBIAN_FRONTEND=noninteractive - -## Update base packages -RUN apt update \ - && apt upgrade -y - -## Install dependencies -RUN apt install -y libc++-dev libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools libatomic1 libsdl1.2debian libsdl2-2.0-0 \ - libfontconfig libicu72 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadb-dev libmariadb-dev-compat libduktape207 locales ffmpeg gnupg2 apt-transport-https software-properties-common ca-certificates \ - libz3-dev rapidjson-dev tzdata libevent-dev libzip4 libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 build-essential cmake libgdiplus libstdc++6 - -## Configure locale -RUN update-locale lang=en_US.UTF-8 \ - && dpkg-reconfigure --frontend noninteractive locales - - -##Install box64 -RUN wget https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt/sources.list.d/box64.list \ - && wget -qO- https://ryanfortner.github.io/box64-debs/KEY.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg \ - && apt update && apt install box64-rpi4arm64 -y - - - -RUN useradd -d /home/container -m container -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./entrypoint.sh /entrypoint.sh -CMD ["/bin/bash", "/entrypoint.sh"] diff --git a/box64/entrypoint.sh b/box64/entrypoint.sh deleted file mode 100644 index 74b5563..0000000 --- a/box64/entrypoint.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -cd /home/container - -# Make internal Docker IP address available to processes. -export INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);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} diff --git a/bun/canary/Dockerfile b/bun/canary/Dockerfile deleted file mode 100644 index 8e45326..0000000 --- a/bun/canary/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH oven/bun:canary - -LABEL author="MrAtox" maintainer="mratox@protonmail.com" - -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 tini \ - && useradd -m -d /home/container container - -RUN bun upgrade - -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"] \ No newline at end of file diff --git a/bun/entrypoint.sh b/bun/entrypoint.sh deleted file mode 100644 index c72ea71..0000000 --- a/bun/entrypoint.sh +++ /dev/null @@ -1,16 +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 - -# Print Bun Version -bun -v - -# 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} diff --git a/bun/latest/Dockerfile b/bun/latest/Dockerfile deleted file mode 100644 index 4338e03..0000000 --- a/bun/latest/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH oven/bun:latest - -LABEL author="MrAtox" maintainer="mratox@protonmail.com" - -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 tini \ - && useradd -m -d /home/container container - -RUN bun upgrade - -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"] diff --git a/cassandra/entrypoint.sh b/cassandra/entrypoint.sh deleted file mode 100644 index 52818a0..0000000 --- a/cassandra/entrypoint.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/ash - -# Default the TZ environment variable to UTC. -TZ=${TZ:-UTC} -export TZ - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# Switch to the container's working directory -cd /home/container || exit 1 - -# Print Java version -printf "\033[1m\033[33mcontainer@pelican~ \033[0mjava -version\n" -java -version - -# Print Python version -if command -v python &>/dev/null; then - printf "\033[1m\033[33mcontainer@pelican~ \033[0mpython --version\n" - python --version -else - printf "\033[1m\033[33mcontainer@pelican~ \033[0mpython3 --version\n" - python3 --version -fi - -# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell -# variable format of "${VARIABLE}" before evaluating the string and automatically -# replacing the values. -PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g') - -# Display the command we're running in the output, and then execute it with eval -printf "\033[1m\033[33mcontainer@pelican~ \033[0m" -echo "$PARSED" -# shellcheck disable=SC2086 -eval "$PARSED" diff --git a/cassandra/java11_python3/Dockerfile b/cassandra/java11_python3/Dockerfile deleted file mode 100644 index 7338249..0000000 --- a/cassandra/java11_python3/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH adoptopenjdk/openjdk11:alpine-jre - -LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache python3 py3-tz ca-certificates curl fontconfig git openssl sqlite tar tzdata \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/cassandra/java8_python2/Dockerfile b/cassandra/java8_python2/Dockerfile deleted file mode 100644 index 514173a..0000000 --- a/cassandra/java8_python2/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH adoptopenjdk/openjdk8:alpine-jre - -LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache python2 ca-certificates curl fontconfig git openssl sqlite tar tzdata \ - && python -m ensurepip --upgrade && pip install pytz \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/dart/2.17/Dockerfile b/dart/2.17/Dockerfile deleted file mode 100644 index a40a497..0000000 --- a/dart/2.17/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH dart:2.17 - -LABEL author="Alden Bansemer" maintainer="alden@knoban.com" - -RUN apt update \ - && apt -y install iproute2 git ca-certificates tzdata tini \ - && useradd -m -d /home/container container - -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"] diff --git a/dart/2.18/Dockerfile b/dart/2.18/Dockerfile deleted file mode 100644 index e8955f6..0000000 --- a/dart/2.18/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH dart:2.18 - -LABEL author="Alden Bansemer" maintainer="alden@knoban.com" - -RUN apt update \ - && apt -y install iproute2 git ca-certificates tzdata tini \ - && useradd -m -d /home/container container - -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"] diff --git a/dart/2.19/Dockerfile b/dart/2.19/Dockerfile deleted file mode 100644 index cb94aa0..0000000 --- a/dart/2.19/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH dart:2.19 - -LABEL author="Alden Bansemer" maintainer="alden@knoban.com" - -RUN apt update \ - && apt -y install iproute2 git ca-certificates tzdata tini \ - && useradd -m -d /home/container container - -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"] diff --git a/dart/3.3/Dockerfile b/dart/3.3/Dockerfile deleted file mode 100644 index a4c6b30..0000000 --- a/dart/3.3/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH dart:3.3 - -LABEL author="Alden Bansemer" maintainer="alden@knoban.com" - -RUN apt update \ - && apt -y install iproute2 git ca-certificates tzdata tini \ - && useradd -m -d /home/container container - -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"] diff --git a/dart/entrypoint.sh b/dart/entrypoint.sh deleted file mode 100644 index 2328545..0000000 --- a/dart/entrypoint.sh +++ /dev/null @@ -1,16 +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 - -# Print Dart version -dart --version - -# 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} diff --git a/dart/stable/Dockerfile b/dart/stable/Dockerfile deleted file mode 100644 index f8150d4..0000000 --- a/dart/stable/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH dart:stable - -LABEL author="Alden Bansemer" maintainer="alden@knoban.com" - -RUN apt update \ - && apt -y install iproute2 git ca-certificates tzdata tini \ - && useradd -m -d /home/container container - -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"] diff --git a/dotnet/2.1/Dockerfile b/dotnet/2.1/Dockerfile deleted file mode 100644 index e08d23c..0000000 --- a/dotnet/2.1/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/darksaid98/yolks:debian - -LABEL author="Torsten Widmann" maintainer="info@goover.de" - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt update -y \ - && apt upgrade -y \ - && apt install -y apt-transport-https wget curl git git-lfs tar iproute2 libgdiplus tini \ - && wget https://dot.net/v1/dotnet-install.sh \ - && D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/2.1 | grep -i '

SDK 2.1.*

' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \ - && chmod +x dotnet-install.sh \ - && ./dotnet-install.sh -i /usr/share -v $D_V \ - && ln -s /usr/share/dotnet /usr/bin/dotnet - -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"] diff --git a/dotnet/3.1/Dockerfile b/dotnet/3.1/Dockerfile deleted file mode 100644 index 4fd6f70..0000000 --- a/dotnet/3.1/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/darksaid98/yolks:debian - -LABEL author="Torsten Widmann" maintainer="info@goover.de" - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt update -y \ - && apt upgrade -y \ - && apt install -y apt-transport-https wget curl git git-lfs tar iproute2 libgdiplus tini \ - && wget https://dot.net/v1/dotnet-install.sh \ - && D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/3.1 | grep -i '

SDK 3.1.*

' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \ - && chmod +x dotnet-install.sh \ - && ./dotnet-install.sh -i /usr/share -v $D_V \ - && ln -s /usr/share/dotnet /usr/bin/dotnet - - -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"] diff --git a/dotnet/5/Dockerfile b/dotnet/5/Dockerfile deleted file mode 100644 index dfafa29..0000000 --- a/dotnet/5/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/darksaid98/yolks:debian - -LABEL author="Torsten Widmann" maintainer="info@goover.de" - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt update -y \ - && apt upgrade -y \ - && apt install -y apt-transport-https wget curl git git-lfs tar iproute2 libgdiplus tini \ - && wget https://dot.net/v1/dotnet-install.sh \ - && D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/5.0 | grep -i '

SDK 5.*.*

' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \ - && chmod +x dotnet-install.sh \ - && ./dotnet-install.sh -i /usr/share -v $D_V \ - && ln -s /usr/share/dotnet /usr/bin/dotnet - -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"] diff --git a/dotnet/6/Dockerfile b/dotnet/6/Dockerfile deleted file mode 100644 index f3f8b3a..0000000 --- a/dotnet/6/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/darksaid98/yolks:debian - -LABEL author="Torsten Widmann" maintainer="info@goover.de" - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt update -y \ - && apt upgrade -y \ - && apt install -y apt-transport-https wget curl git git-lfs tar iproute2 libgdiplus tini \ - && wget https://dot.net/v1/dotnet-install.sh \ - && D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/6.0 | grep -i '

SDK 6.*.*

' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \ - && chmod +x dotnet-install.sh \ - && ./dotnet-install.sh -i /usr/share -v $D_V \ - && ln -s /usr/share/dotnet /usr/bin/dotnet - -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"] diff --git a/dotnet/7/Dockerfile b/dotnet/7/Dockerfile deleted file mode 100644 index 4d5702e..0000000 --- a/dotnet/7/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/darksaid98/yolks:debian - -LABEL author="Torsten Widmann" maintainer="info@goover.de" - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt update -y \ - && apt upgrade -y \ - && apt install -y apt-transport-https wget curl git git-lfs tar iproute2 libgdiplus tini \ - && wget https://dot.net/v1/dotnet-install.sh \ - && D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/7.0 | grep -i '

SDK 7.*.*

' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \ - && chmod +x dotnet-install.sh \ - && ./dotnet-install.sh -i /usr/share -v $D_V \ - && ln -s /usr/share/dotnet /usr/bin/dotnet - -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"] diff --git a/dotnet/8/Dockerfile b/dotnet/8/Dockerfile deleted file mode 100644 index e497be4..0000000 --- a/dotnet/8/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/darksaid98/yolks:debian - -LABEL author="Torsten Widmann" maintainer="info@goover.de" - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt update -y \ - && apt upgrade -y \ - && apt install -y apt-transport-https wget curl git git-lfs tar iproute2 libgdiplus tini \ - && wget https://dot.net/v1/dotnet-install.sh \ - && D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/8.0 | grep -i '

SDK 8.*.*

' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \ - && chmod +x dotnet-install.sh \ - && ./dotnet-install.sh -i /usr/share -v $D_V \ - && ln -s /usr/share/dotnet /usr/bin/dotnet - -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"] diff --git a/dotnet/entrypoint.sh b/dotnet/entrypoint.sh deleted file mode 100644 index 1c23eae..0000000 --- a/dotnet/entrypoint.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/bash - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# Switch to the container's working directory -cd /home/container || exit 1 - -# Update repo from git -if [ "${GIT_ENABLED}" == "false" ] || [ "${GIT_ENABLED}" == "0" ]; then - echo -e "Using Git for version control." - - # Add git ending if it's not on the address - if [[ ${GIT_ADDRESS} != *.git ]]; then - GIT_ADDRESS=${GIT_ADDRESS}.git - fi - - if [ -z "${GIT_USERNAME}" ] && [ -z "${GIT_ACCESS_TOKEN}" ]; then - echo -e "Git Username or Git Token was not specified. Proceeding anonymously." - else - GIT_ADDRESS="https://${GIT_USERNAME}:${GIT_ACCESS_TOKEN}@$(echo -e ${GIT_ADDRESS} | cut -d/ -f3-)" - fi - - # Update - if [ "$(ls -A /home/container)" ]; then - echo -e "/home/container directory is not empty." - - # Get git origin from /home/container/.git/config - if [ -d .git ]; then - echo -e ".git directory exists" - if [ -f .git/config ]; then - echo -e "loading info from git config" - ORIGIN=$(git config --get remote.origin.url) - else - echo -e "files found with no git config" - echo -e "closing out without touching things to not break anything" - exit 10 - fi - fi - - # If git origin matches the repo specified by user then pull - if [ "${ORIGIN}" == "${GIT_ADDRESS}" ]; then - echo "Pulling changes from Git." - git pull && echo "Finished pulling /home/container from Git." || echo "Failed pulling /home/container from Git." - fi - else - # No files exist in resources folder, clone - echo -e "/home/container is empty.\ncloning files..." - if [ -z ${GIT_BRANCH} ]; then - echo -e "Cloning default branch into /home/container." - git clone ${GIT_ADDRESS} . - else - echo -e "Cloning ${GIT_BRANCH} branch into /home/container." - git clone --single-branch --branch ${GIT_BRANCH} ${GIT_ADDRESS} . && echo "Finished cloning into /home/container from Git." || echo "Failed cloning into /home/container from Git." - fi - fi -else - echo -e "Using Git is disabled." -fi - -# set this variable, dotnet needs it even without it it reports to `dotnet --info` it can not start any aplication without this -export DOTNET_ROOT=/usr/share/ - -# print the dotnet version on startup -printf "\033[1m\033[33mcontainer@pelican~ \033[0mdotnet --version\n" -dotnet --version - -# 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} diff --git a/elixir/1.12/Dockerfile b/elixir/1.12/Dockerfile deleted file mode 100644 index 7c9ff70..0000000 --- a/elixir/1.12/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH elixir:1.12.3-slim - -LABEL author="MrAvox" maintainer="mravox@proton.me" - -RUN apt update \ - && apt -y install git dnsutils curl iproute2 ffmpeg tini \ - && useradd -m -d /home/container container - -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"] diff --git a/elixir/1.13/Dockerfile b/elixir/1.13/Dockerfile deleted file mode 100644 index 8298b48..0000000 --- a/elixir/1.13/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH elixir:1.13.4-slim - -LABEL author="MrAvox" maintainer="mravox@proton.me" - -RUN apt update \ - && apt -y install git dnsutils curl iproute2 ffmpeg tini \ - && useradd -m -d /home/container container - -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"] diff --git a/elixir/1.14/Dockerfile b/elixir/1.14/Dockerfile deleted file mode 100644 index 5aec208..0000000 --- a/elixir/1.14/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH elixir:1.14.5-slim - -LABEL author="MrAvox" maintainer="mravox@proton.me" - -RUN apt update \ - && apt -y install git dnsutils curl iproute2 ffmpeg tini \ - && useradd -m -d /home/container container - -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"] diff --git a/elixir/1.15/Dockerfile b/elixir/1.15/Dockerfile deleted file mode 100644 index 71c441e..0000000 --- a/elixir/1.15/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH elixir:1.15.4-slim - -LABEL author="MrAvox" maintainer="mravox@proton.me" - -RUN apt update \ - && apt -y install git dnsutils curl iproute2 ffmpeg tini \ - && useradd -m -d /home/container container - -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"] diff --git a/elixir/entrypoint.sh b/elixir/entrypoint.sh deleted file mode 100644 index 39f8bab..0000000 --- a/elixir/entrypoint.sh +++ /dev/null @@ -1,16 +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 ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g') -echo -e ":/home/container$ ${MODIFIED_STARTUP}" - -# Print Elixir Version -elixir -e 'IO.puts "Elixir " <> System.version()' - -# Run the Server -eval ${MODIFIED_STARTUP} diff --git a/elixir/latest/Dockerfile b/elixir/latest/Dockerfile deleted file mode 100644 index 2d2d5b0..0000000 --- a/elixir/latest/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH elixir:slim - -LABEL author="MrAvox" maintainer="mravox@proton.me" - -RUN apt update \ - && apt -y install git dnsutils curl iproute2 ffmpeg tini \ - && useradd -m -d /home/container container - -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"] diff --git a/erlang/22/Dockerfile b/erlang/22/Dockerfile deleted file mode 100644 index a7c0c57..0000000 --- a/erlang/22/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH erlang:22-alpine - -LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/erlang/23/Dockerfile b/erlang/23/Dockerfile deleted file mode 100644 index fca64b1..0000000 --- a/erlang/23/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH erlang:23-alpine - -LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2\ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/erlang/24/Dockerfile b/erlang/24/Dockerfile deleted file mode 100644 index f3b7ad7..0000000 --- a/erlang/24/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH erlang:24-alpine - -LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/erlang/25/Dockerfile b/erlang/25/Dockerfile deleted file mode 100644 index 196dc13..0000000 --- a/erlang/25/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH erlang:25-alpine - -LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/erlang/26/Dockerfile b/erlang/26/Dockerfile deleted file mode 100644 index 29fb4f4..0000000 --- a/erlang/26/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH erlang:26-alpine - -LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/erlang/entrypoint.sh b/erlang/entrypoint.sh deleted file mode 100644 index b657169..0000000 --- a/erlang/entrypoint.sh +++ /dev/null @@ -1,25 +0,0 @@ -# Default the TZ environment variable to UTC. -TZ=${TZ:-UTC} -export TZ - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# Switch to the container's working directory -cd /home/container || exit 1 - -# Print Erlang's version -printf "\033[1m\033[33mcontainer@pelican~ \033[0merl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'\n" -erl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()' - -# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell -# variable format of "${VARIABLE}" before evaluating the string and automatically -# replacing the values. -PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g') - -# Display the command we're running in the output, and then execute it with eval -printf "\033[1m\033[33mcontainer@pelican~ \033[0m" -echo "$PARSED" -# shellcheck disable=SC2086 -eval "$PARSED" diff --git a/games/altv/Dockerfile b/games/altv/Dockerfile deleted file mode 100644 index 7644672..0000000 --- a/games/altv/Dockerfile +++ /dev/null @@ -1,35 +0,0 @@ -# ---------------------------------- -# Environment: debian -# ---------------------------------- -FROM --platform=$TARGETOS/$TARGETARCH node:16-bookworm - -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 g++ gcc libgcc-s1 lib32gcc-s1 gdb libstdc++6 libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools netcat-traditional telnet libatomic1 libsdl1.2debian libsdl2-2.0-0 \ - libfontconfig1 libicu72 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadb-dev libduktape207 locales ffmpeg gnupg2 apt-transport-https software-properties-common ca-certificates tzdata libgdiplus\ - python3 dnsutils build-essential coreutils jq pcregrep tini - -RUN wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ - && dpkg -i packages-microsoft-prod.deb \ - && apt update -y \ - && apt install -y dotnet-sdk-6.0 dotnet-sdk-7.0 dotnet-sdk-8.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 - -STOPSIGNAL SIGINT - -COPY --chown=container:container ./entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/usr/bin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] diff --git a/games/altv/entrypoint.sh b/games/altv/entrypoint.sh deleted file mode 100644 index 11acd70..0000000 --- a/games/altv/entrypoint.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -cd /home/container - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# 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} diff --git a/games/arma3/Dockerfile b/games/arma3/Dockerfile deleted file mode 100644 index 169cba1..0000000 --- a/games/arma3/Dockerfile +++ /dev/null @@ -1,58 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH debian:bullseye-slim - -LABEL author="David Wolfe (Red-Thirten)" maintainer="red_thirten@yahoo.com" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -## Update base packages and install dependencies -ENV DEBIAN_FRONTEND=noninteractive -RUN dpkg --add-architecture i386 \ - && apt-get update \ - && apt-get upgrade -y \ - && apt-get install -y \ - curl \ - tzdata \ - locales \ - iproute2 \ - gettext-base \ - ca-certificates \ - numactl \ - libssl-dev \ - lib32gcc-s1 \ - libsdl2-2.0-0 \ - libsdl2-2.0-0:i386 \ - libstdc++6 \ - libstdc++6:i386 \ - lib32stdc++6 \ - libnss-wrapper \ - libnss-wrapper:i386 \ - libtbb2 \ - libtbb2:i386 \ - tini - -## Configure locale -RUN update-locale lang=en_US.UTF-8 \ - && dpkg-reconfigure --frontend noninteractive locales - -## Prepare NSS Wrapper for the entrypoint as a workaround for Arma 3 requiring a valid UID -ENV NSS_WRAPPER_PASSWD=/tmp/passwd NSS_WRAPPER_GROUP=/tmp/group -RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \ - && chgrp 0 ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \ - && chmod g+rw ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} -ADD passwd.template /passwd.template - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -## Copy over entrypoint.sh and set permissions -COPY --chown=container:container ./entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -## Start with Tini to pass future stop signals correctly -STOPSIGNAL SIGINT -ENTRYPOINT ["/usr/bin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] diff --git a/games/arma3/LICENSE.txt b/games/arma3/LICENSE.txt deleted file mode 100644 index c73e689..0000000 --- a/games/arma3/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017-2021 Pterodactyl Software - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/games/arma3/README.md b/games/arma3/README.md deleted file mode 100644 index 3e45d46..0000000 --- a/games/arma3/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Arma 3 - -Docker container designed to run Bohemia Interactive's Arma 3 dedicated server. diff --git a/games/arma3/entrypoint.sh b/games/arma3/entrypoint.sh deleted file mode 100644 index 64084b3..0000000 --- a/games/arma3/entrypoint.sh +++ /dev/null @@ -1,406 +0,0 @@ -#!/bin/bash - -## File: Pterodactyl Arma 3 Image - entrypoint.sh -## Author: David Wolfe (Red-Thirten) -## Contributors: Aussie Server Hosts (https://aussieserverhosts.com/), Stephen White (SilK) -## Date: 2022/11/26 -## License: MIT License - -## === CONSTANTS === -STEAMCMD_DIR="./steamcmd" # SteamCMD's directory containing steamcmd.sh -WORKSHOP_DIR="./Steam/steamapps/workshop" # SteamCMD's directory containing workshop downloads -STEAMCMD_LOG="${STEAMCMD_DIR}/steamcmd.log" # Log file for SteamCMD -GAME_ID=107410 # SteamCMD ID for the Arma 3 GAME (not server). Only used for Workshop mod downloads. -EGG_URL='https://github.com/darksaid98/eggs/tree/master/game_eggs/steamcmd_servers/arma/arma3' # URL for Pterodactyl Egg & Info (only used as info to legacy users) - -# Color Codes -CYAN='\033[0;36m' -GREEN='\033[0;32m' -YELLOW='\033[1;33m' -RED='\033[0;31m' -NC='\033[0m' # No Color - -## === ENVIRONMENT VARS === -# STARTUP, STARTUP_PARAMS, STEAM_USER, STEAM_PASS, SERVER_BINARY, MOD_FILE, MODIFICATIONS, SERVERMODS, OPTIONALMODS, UPDATE_SERVER, CLEAR_CACHE, VALIDATE_SERVER, MODS_LOWERCASE, STEAMCMD_EXTRA_FLAGS, CDLC, STEAMCMD_APPID, HC_NUM, SERVER_PASSWORD, HC_HIDE, STEAMCMD_ATTEMPTS, BASIC_URL, DISABLE_MOD_UPDATES - -## === GLOBAL VARS === -# validateServer, extraFlags, updateAttempt, modifiedStartup, allMods, CLIENT_MODS - -## === DEFINE FUNCTIONS === -# -# Runs SteamCMD with specified variables and performs error handling. -function RunSteamCMD { #[Input: int server=0 mod=1 optional_mod=2; int id] - # Clear previous SteamCMD log - if [[ -f "${STEAMCMD_LOG}" ]]; then - rm -f "${STEAMCMD_LOG:?}" - fi - - updateAttempt=0 - while (($updateAttempt < $STEAMCMD_ATTEMPTS)); do # Loop for specified number of attempts - # Increment attempt counter - updateAttempt=$((updateAttempt + 1)) - - if (($updateAttempt > 1)); then # Notify if not first attempt - echo -e "\t${YELLOW}Re-Attempting download/update in 3 seconds...${NC} (Attempt ${CYAN}${updateAttempt}${NC} of ${CYAN}${STEAMCMD_ATTEMPTS}${NC})\n" - sleep 3 - fi - - # Check if updating server or mod - if [[ $1 == 0 ]]; then # Server - numactl --physcpubind=+0 ${STEAMCMD_DIR}/steamcmd.sh +force_install_dir /home/container "+login \"${STEAM_USER}\" \"${STEAM_PASS}\"" +app_update $2 $extraFlags $validateServer +quit | tee -a "${STEAMCMD_LOG}" - else # Mod - numactl --physcpubind=+0 ${STEAMCMD_DIR}/steamcmd.sh "+login \"${STEAM_USER}\" \"${STEAM_PASS}\"" +workshop_download_item $GAME_ID $2 +quit | tee -a "${STEAMCMD_LOG}" - fi - - # Error checking for SteamCMD - steamcmdExitCode=${PIPESTATUS[0]} - loggedErrors=$(grep -i "error\|failed" "${STEAMCMD_LOG}" | grep -iv "setlocal\|SDL\|steamservice\|thread") - if [[ -n ${loggedErrors} ]]; then # Catch errors (ignore setlocale, SDL, steamservice, and thread priority warnings) - # Soft errors - if [[ -n $(grep -i "Timeout downloading item" "${STEAMCMD_LOG}") ]]; then # Mod download timeout - echo -e "\n${YELLOW}[UPDATE]: ${NC}Timeout downloading Steam Workshop mod: \"${CYAN}${modName}${NC}\" (${CYAN}${2}${NC})" - echo -e "\t(This is expected for particularly large mods)" - elif [[ -n $(grep -i "0x402\|0x6\|0x602" "${STEAMCMD_LOG}") ]]; then # Connection issue with Steam - echo -e "\n${YELLOW}[UPDATE]: ${NC}Connection issue with Steam servers." - echo -e "\t(Steam servers may currently be down, or a connection cannot be made reliably)" - # Hard errors - elif [[ -n $(grep -i "Password check for AppId" "${STEAMCMD_LOG}") ]]; then # Incorrect beta branch password - echo -e "\n${RED}[UPDATE]: ${YELLOW}Incorrect password given for beta branch. ${CYAN}Skipping download...${NC}" - echo -e "\t(Check your \"[ADVANCED] EXTRA FLAGS FOR STEAMCMD\" startup parameter)" - break - # Fatal errors - elif [[ -n $(grep -i "Invalid Password\|two-factor\|No subscription" "${STEAMCMD_LOG}") ]]; then # Wrong username/password, Steam Guard is turned on, or host is using anonymous account - echo -e "\n${RED}[UPDATE]: Cannot login to Steam - Improperly configured account and/or credentials" - echo -e "\t${YELLOW}Please contact your administrator/host and give them the following message:${NC}" - echo -e "\t${CYAN}Your Egg, or your client's server, is not configured with valid Steam credentials.${NC}" - echo -e "\t${CYAN}Either the username/password is wrong, or Steam Guard is not properly configured" - echo -e "\t${CYAN}according to this egg's documentation/README.${NC}\n" - exit 1 - elif [[ -n $(grep -i "Download item" "${STEAMCMD_LOG}") ]]; then # Steam account does not own base game for mod downloads, or unknown - echo -e "\n${RED}[UPDATE]: Cannot download mod - Download failed" - echo -e "\t${YELLOW}While unknown, this error is likely due to your host's Steam account not owning the base game.${NC}" - echo -e "\t${YELLOW}(Please contact your administrator/host if this issue persists)${NC}\n" - exit 1 - elif [[ -n $(grep -i "0x202\|0x212" "${STEAMCMD_LOG}") ]]; then # Not enough disk space - echo -e "\n${RED}[UPDATE]: Unable to complete download - Not enough storage" - echo -e "\t${YELLOW}You have run out of your allotted disk space.${NC}" - echo -e "\t${YELLOW}Please contact your administrator/host for potential storage upgrades.${NC}\n" - exit 1 - elif [[ -n $(grep -i "0x606" "${STEAMCMD_LOG}") ]]; then # Disk write failure - echo -e "\n${RED}[UPDATE]: Unable to complete download - Disk write failure" - echo -e "\t${YELLOW}This is normally caused by directory permissions issues," - echo -e "\t${YELLOW}but could be a more serious hardware issue.${NC}" - echo -e "\t${YELLOW}(Please contact your administrator/host if this issue persists)${NC}\n" - exit 1 - else # Unknown caught error - echo -e "\n${RED}[UPDATE]: ${YELLOW}An unknown error has occurred with SteamCMD. ${CYAN}Skipping download...${NC}" - echo -e "SteamCMD Errors:\n${loggedErrors}" - echo -e "\t${YELLOW}(Please contact your administrator/host if this issue persists)${NC}\n" - break - fi - elif [[ $steamcmdExitCode != 0 ]]; then # Unknown fatal error - echo -e "\n${RED}[UPDATE]: SteamCMD has crashed for an unknown reason!${NC} (Exit code: ${CYAN}${steamcmdExitCode}${NC})" - echo -e "\t${YELLOW}(Please contact your administrator/host for support)${NC}\n" - cp -r /tmp/dumps /home/container/dumps - exit $steamcmdExitCode - else # Success! - if [[ $1 == 0 ]]; then # Server - echo -e "\n${GREEN}[UPDATE]: Game server is up to date!${NC}" - else # Mod - # Move the downloaded mod to the root directory, and replace existing mod if needed - mkdir -p ./@$2 - rm -rf ./@$2/* - mv -f ${WORKSHOP_DIR}/content/$GAME_ID/$2/* ./@$2 - rm -d ${WORKSHOP_DIR}/content/$GAME_ID/$2 - # Make the mods contents all lowercase - ModsLowercase @$2 - # Move any .bikey's to the keys directory - echo -e "\tMoving any mod ${CYAN}.bikey${NC} files to the ${CYAN}~/keys/${NC} folder..." - if [[ $1 == 1 ]]; then - find ./@$2 -name "*.bikey" -type f -exec cp {} ./keys \; - else - # Give optional mod keys a custom name which can be checked later for deleting unconfigured mods - for file in $(find ./@$2 -name "*.bikey" -type f); do - filename=$(basename ${file}) - - cp $file ./keys/optional_$2_${filename} - - done - - echo -e "\tMod with ID $2 is an optional mod. Deleting original mod download folder..." - rm -r ./@$2 - - # Recreate a directory so time-based detection of auto updates works correctly - mkdir ./@$2_optional - fi - echo -e "${GREEN}[UPDATE]: Mod download/update successful!${NC}" - fi - break - fi - if (($updateAttempt == $STEAMCMD_ATTEMPTS)); then # Notify if failed last attempt - if [[ $1 == 0 ]]; then # Server - echo -e "\t${RED}Final attempt made! ${YELLOW}Unable to complete game server update. ${CYAN}Skipping...${NC}" - echo -e "\t(Please try again at a later time)" - sleep 3 - else # Mod - echo -e "\t${RED}Final attempt made! ${YELLOW}Unable to complete mod download/update. ${CYAN}Skipping...${NC}" - echo -e "\t(You may try again later, or manually upload this mod to your server via SFTP)" - sleep 3 - fi - fi - done -} - -# Takes a directory (string) as input, and recursively makes all files & folders lowercase. -function ModsLowercase { - echo -e "\n\tMaking mod ${CYAN}$1${NC} files/folders lowercase..." - for SRC in $(find ./$1 -depth); do - DST=$(dirname "${SRC}")/$(basename "${SRC}" | tr '[A-Z]' '[a-z]') - if [ "${SRC}" != "${DST}" ]; then - [ ! -e "${DST}" ] && mv -T "${SRC}" "${DST}" - fi - done -} - -# Removes duplicate items from a semicolon delimited string -function RemoveDuplicates { #[Input: str - Output: printf of new str] - if [[ -n $1 ]]; then # If nothing to compare, skip to prevent extra semicolon being returned - echo $1 | sed -e 's/;/\n/g' | sort -u | xargs printf '%s;' - fi -} - -# === ENTRYPOINT START === - -# Wait for the container to fully initialize -sleep 1 - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# Switch to the container's working directory -cd /home/container || exit 1 - -# Check for old eggs -if [[ -z ${VALIDATE_SERVER} ]]; then # VALIDATE_SERVER was not in the previous version - echo -e "\n${RED}[STARTUP_ERR]: Please contact your administrator/host for support, and give them the following message:${NC}\n" - echo -e "\t${CYAN}Your Arma 3 Egg is outdated and no longer supported.${NC}" - echo -e "\t${CYAN}Please download the latest version at the following link, and install it in your panel:${NC}" - echo -e "\t${CYAN}${EGG_URL}${NC}\n" - exit 1 -fi - -# Collect and parse all specified mods -if [[ -n ${MODIFICATIONS} ]] && [[ ${MODIFICATIONS} != *\; ]]; then # Add manually specified mods to the client-side mods list, while checking for trailing semicolon - CLIENT_MODS="${MODIFICATIONS};" -else - CLIENT_MODS=${MODIFICATIONS} -fi -if [[ -f ${MOD_FILE} ]] && [[ -n "$(cat ${MOD_FILE} | grep 'Created by Arma 3 Launcher')" ]]; then # If the mod list file exists and is valid, parse and add mods to the client-side mods list - CLIENT_MODS+=$(cat ${MOD_FILE} | grep 'id=' | cut -d'=' -f3 | cut -d'"' -f1 | xargs printf '@%s;') -elif [[ -n "${MOD_FILE}" ]]; then # If MOD_FILE is not null, warn user file is missing or invalid - echo -e "\n${YELLOW}[STARTUP_WARN]: Arma 3 Modlist file \"${CYAN}${MOD_FILE}${YELLOW}\" could not be found, or is invalid!${NC}" - echo -e "\tEnsure your uploaded modlist's file name matches your Startup Parameter." - echo -e "\tOnly files exported from an Arma 3 Launcher are permitted." - if [[ -n "${CLIENT_MODS}" ]]; then - echo -e "\t${CYAN}Reverting to the manual mod list...${NC}" - fi -fi -if [[ -n ${SERVERMODS} ]] && [[ ${SERVERMODS} != *\; ]]; then # Add server mods to the master mods list, while checking for trailing semicolon - allMods="${SERVERMODS};" -else - allMods=${SERVERMODS} -fi -if [[ -n ${OPTIONALMODS} ]] && [[ ${OPTIONALMODS} != *\; ]]; then # Add specified optional mods to the mods list, while checking for trailing semicolon - allMods+="${OPTIONALMODS};" -else - allMods+=${OPTIONALMODS} -fi -allMods+=$CLIENT_MODS # Add all client-side mods to the master mod list -CLIENT_MODS=$(RemoveDuplicates ${CLIENT_MODS}) # Remove duplicate mods from CLIENT_MODS, if present -allMods=$(RemoveDuplicates ${allMods}) # Remove duplicate mods from allMods, if present -allMods=$(echo $allMods | sed -e 's/;/ /g') # Convert from string to array - -# Update everything (server and mods), if specified -if [[ ${UPDATE_SERVER} == 1 ]]; then - echo -e "\n${GREEN}[STARTUP]: ${CYAN}Starting checks for all updates...${NC}" - echo -e "(It is okay to ignore any \"SDL\", \"steamservice\", and \"thread priority\" errors during this process)\n" - - ## Update game server - echo -e "${GREEN}[UPDATE]:${NC} Checking for game server updates with App ID: ${CYAN}${STEAMCMD_APPID}${NC}..." - - if [[ ${VALIDATE_SERVER} == 1 ]]; then # Validate will be added as a parameter if specified - echo -e "\t${CYAN}File validation enabled.${NC} (This may take extra time to complete)" - validateServer="validate" - else - validateServer="" - fi - - # Determine what extra flags should be set - if [[ -n ${STEAMCMD_EXTRA_FLAGS} ]]; then - echo -e "\t(${YELLOW}Advanced${NC}) Extra SteamCMD flags specified: ${CYAN}${STEAMCMD_EXTRA_FLAGS}${NC}\n" - extraFlags=${STEAMCMD_EXTRA_FLAGS} - elif [[ ${CDLC} == 1 ]]; then - echo -e "\t${CYAN}Download/Update Creator DLC server files enabled.${NC}\n" - extraFlags="-beta creatordlc" - else - echo -e "" - extraFlags="" - fi - - RunSteamCMD 0 ${STEAMCMD_APPID} - - ## Update mods - if [[ -n $allMods ]] && [[ ${DISABLE_MOD_UPDATES} != 1 ]]; then - echo -e "\n${GREEN}[UPDATE]:${NC} Checking all ${CYAN}Steam Workshop mods${NC} for updates..." - for modID in $(echo $allMods | sed -e 's/@//g'); do - if [[ $modID =~ ^[0-9]+$ ]]; then # Only check mods that are in ID-form - # If a mod is defined in OPTIONALMODS, and is not defined in CLIENT_MODS or SERVERMODS, then treat as an optional mod - # Optional mods are given a different directory which is checked to see if a new update is available. This is to ensure - # if an optional mod is switched to be a standard client-side mod, this script will redownload the mod - if [[ "${OPTIONALMODS}" == *"@${modID};"* ]] && [[ "${CLIENT_MODS}" != *"@${modID};"* ]] && [[ "${SERVERMODS}" != *"@${modID};"* ]]; then - modType=2 - modDir=@${modID}_optional - else - modType=1 - modDir=@${modID} - fi - - # Get mod's latest update in epoch time from its Steam Workshop changelog page - latestUpdate=$(curl -sL https://steamcommunity.com/sharedfiles/filedetails/changelog/$modID | grep '

$(find $modDir | head -1 | xargs stat -c%Y)) ]]; then - # Get the mod's name from the Workshop page as well - modName=$(curl -sL https://steamcommunity.com/sharedfiles/filedetails/changelog/$modID | grep 'workshopItemTitle' | cut -d'>' -f2 | cut -d'<' -f1) - if [[ -z $modName ]]; then # Set default name if unavailable - modName="[NAME UNAVAILABLE]" - fi - if [[ ! -d $modDir ]]; then - echo -e "\n${GREEN}[UPDATE]:${NC} Downloading new Mod: \"${CYAN}${modName}${NC}\" (${CYAN}${modID}${NC})" - else - echo -e "\n${GREEN}[UPDATE]:${NC} Mod update found for: \"${CYAN}${modName}${NC}\" (${CYAN}${modID}${NC})" - fi - if [[ -n $latestUpdate ]] && [[ $latestUpdate =~ ^[0-9]+$ ]]; then # Notify last update date, if valid - echo -e "\tMod was last updated: ${CYAN}$(date -d @${latestUpdate})${NC}" - fi - - # Delete SteamCMD appworkshop cache before running to avoid mod download failures - echo -e "\tClearing SteamCMD appworkshop cache..." - rm -f ${WORKSHOP_DIR}/appworkshop_$GAME_ID.acf - - echo -e "\tAttempting mod update/download via SteamCMD...\n" - RunSteamCMD $modType $modID - fi - fi - done - - # Check over key files for unconfigured optional mods' .bikey files - for keyFile in $(find ./keys -name "*.bikey" -type f); do - keyFileName=$(basename ${keyFile}) - - # If the key file is using the optional mod file name - if [[ "${keyFileName}" == "optional_"* ]]; then - modID=$(echo "${keyFileName}" | cut -d _ -f 2) - - # If mod is not in optional mods, delete it - # If a mod is configured in CLIENT_MODS or SERVERMODS, we should still delete this file - # as a new file will have been copied that does not follow the naming scheme - if [[ "${OPTIONALMODS}" != *"@${modID};"* ]]; then - - # We only need to let the user know the key file is being deleted if this mod is no longer configured at all. - # If CLIENT_MODS contains the mod ID, we'd just confuse the user by telling them we are deleting the optional .bikey file - if [[ "${CLIENT_MODS}" != *"@${modID};"* ]]; then - echo -e "\tKey file and directory for unconfigured optional mod ${CYAN}${modID}${NC} is being deleted..." - fi - - # Delete the optional mod .bikey file and directory - rm ${keyFile} - rmdir ./@${modID}_optional 2>/dev/null - fi - fi - done - - echo -e "${GREEN}[UPDATE]:${NC} Steam Workshop mod update check ${GREEN}complete${NC}!" - fi -fi - -# Check if specified server binary exists. -if [[ ! -f ./${SERVER_BINARY} ]]; then - echo -e "\n${RED}[STARTUP_ERR]: Specified Arma 3 server binary could not be found in the root directory!${NC}" - echo -e "${YELLOW}Please do the following to resolve this issue:${NC}" - echo -e "\t${CYAN}- Double check your \"Server Binary\" Startup Variable is correct.${NC}" - echo -e "\t${CYAN}- Ensure your server has properly installed/updated without errors (reinstalling/updating again may help).${NC}" - echo -e "\t${CYAN}- Use the File Manager to check that your specified server binary file is not missing from the root directory.${NC}\n" - exit 1 -fi - -# Make mods lowercase, if specified -if [[ ${MODS_LOWERCASE} == "1" ]]; then - for modDir in $allMods; do - ModsLowercase $modDir - done -fi - -# Define the log file path with a timestamp -LOG_FILE="/home/container/serverprofile/rpt/arma3server_$(date '+%m_%d_%Y_%H%M%S').rpt" - -# Ensure the logs directory exists -mkdir -p /home/container/serverprofile/rpt - -# Clear HC cache, if specified -if [[ ${CLEAR_CACHE} == "1" ]]; then - echo -e "\n${GREEN}[STARTUP]: ${CYAN}Clearing Headless Client profiles cache...${NC}" - for profileDir in ./serverprofile/home/*; do - [ "$profileDir" = "./serverprofile/home/Player" ] && continue - rm -rf $profileDir - done -fi - -# Check if basic.cfg exists, and download if not (Arma really doesn't like it missing for some reason) -if [[ ! -f ./basic.cfg ]]; then - echo -e "\n${YELLOW}[STARTUP_WARN]: Basic Network Configuration file \"${CYAN}basic.cfg${YELLOW}\" is missing!${NC}" - echo -e "\t${YELLOW}Downloading default file for use instead...${NC}" - curl -sSL ${BASIC_URL} -o ./basic.cfg -fi - -# Setup NSS Wrapper for use ($NSS_WRAPPER_PASSWD and $NSS_WRAPPER_GROUP have been set by the Dockerfile) -export USER_ID=$(id -u) -export GROUP_ID=$(id -g) -envsubst ${NSS_WRAPPER_PASSWD} - -if [[ ${SERVER_BINARY} == *"x64"* ]]; then # Check which libnss-wrapper architecture to run, based off the server binary name - export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libnss_wrapper.so -else - export LD_PRELOAD=/usr/lib/i386-linux-gnu/libnss_wrapper.so -fi - -# Replace Startup Variables -modifiedStartup=$(eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')) - -# Start Headless Clients if applicable -if [[ ${HC_NUM} > 0 ]]; then - echo -e "\n${GREEN}[STARTUP]:${NC} Starting ${CYAN}${HC_NUM}${NC} Headless Client(s)." - for i in $(seq ${HC_NUM}); do - if [[ ${HC_HIDE} == "1" ]]; then - ./${SERVER_BINARY} -client -connect=127.0.0.1 -port=${SERVER_PORT} -password="${SERVER_PASSWORD}" -profiles=./serverprofile -bepath=./battleye -mod="${CLIENT_MODS}" ${STARTUP_PARAMS} >/dev/null 2>&1 & - else - ./${SERVER_BINARY} -client -connect=127.0.0.1 -port=${SERVER_PORT} -password="${SERVER_PASSWORD}" -profiles=./serverprofile -bepath=./battleye -mod="${CLIENT_MODS}" ${STARTUP_PARAMS} & - fi - echo -e "${GREEN}[STARTUP]:${CYAN} Headless Client $i${NC} launched." - done -fi - -# Start the Server -echo -e "\n${GREEN}[STARTUP]:${NC} Starting server with the following startup command:" -echo -e "${CYAN}${modifiedStartup}${NC}\n" -if [[ "$STARTUP_PARAMS" == *"-noLogs"* ]]; then - ${modifiedStartup} -else - ${modifiedStartup} 2>&1 | tee -a "$LOG_FILE" -fi - -if [ $? -ne 0 ]; then - echo -e "\n${RED}PTDL_CONTAINER_ERR: There was an error while attempting to run the start command.${NC}\n" - exit 1 -fi diff --git a/games/arma3/passwd.template b/games/arma3/passwd.template deleted file mode 100644 index 2b0dd45..0000000 --- a/games/arma3/passwd.template +++ /dev/null @@ -1,26 +0,0 @@ -root:x:0:0:root:/root:/bin/bash -daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin -bin:x:2:2:bin:/bin:/usr/sbin/nologin -sys:x:3:3:sys:/dev:/usr/sbin/nologin -sync:x:4:65534:sync:/bin:/bin/sync -games:x:5:60:games:/usr/games:/usr/sbin/nologin -man:x:6:12:man:/var/cache/man:/usr/sbin/nologin -lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin -mail:x:8:8:mail:/var/mail:/usr/sbin/nologin -news:x:9:9:news:/var/spool/news:/usr/sbin/nologin -uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin -proxy:x:13:13:proxy:/bin:/usr/sbin/nologin -www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin -backup:x:34:34:backup:/var/backups:/usr/sbin/nologin -list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin -irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin -gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin -nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin -systemd-timesync:x:100:102:systemd Time Synchronization,,,:/run/systemd:/bin/false -systemd-network:x:101:103:systemd Network Management,,,:/run/systemd/netif:/bin/false -systemd-resolve:x:102:104:systemd Resolver,,,:/run/systemd/resolve:/bin/false -systemd-bus-proxy:x:103:105:systemd Bus Proxy,,,:/run/systemd:/bin/false -syslog:x:104:108::/home/syslog:/bin/false -messagebus:x:106:109::/var/run/dbus:/bin/false -bind:x:108:112::/var/cache/bind:/bin/false -${USER}:x:${USER_ID}:${GROUP_ID}:${USER}:${HOME}:/bin/bash \ No newline at end of file diff --git a/games/dayz/Dockerfile b/games/dayz/Dockerfile deleted file mode 100644 index c8d24fe..0000000 --- a/games/dayz/Dockerfile +++ /dev/null @@ -1,54 +0,0 @@ -FROM --platform=$BUILDPLATFORM debian:bullseye-slim - -LABEL author="David Wolfe (Red-Thirten)" maintainer="rehlmgaming@gmail.com" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -## Update base packages and install dependencies -ENV DEBIAN_FRONTEND=noninteractive -RUN dpkg --add-architecture i386 \ - && apt update \ - && apt upgrade -y \ - && apt install -y \ - curl \ - tzdata \ - locales \ - iproute2 \ - gettext-base \ - ca-certificates \ - numactl \ - libssl-dev \ - lib32gcc-s1 \ - libsdl2-2.0-0 \ - libsdl2-2.0-0:i386 \ - libstdc++6 \ - libstdc++6:i386 \ - lib32stdc++6 \ - libcap2 \ - libnss-wrapper \ - tini - -## Configure locale -RUN update-locale lang=en_US.UTF-8 \ - && dpkg-reconfigure --frontend noninteractive locales - -## Prepare NSS Wrapper for the entrypoint as a workaround for Arma 3 requiring a valid UID -ENV NSS_WRAPPER_PASSWD=/tmp/passwd NSS_WRAPPER_GROUP=/tmp/group -RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \ - && chgrp 0 ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \ - && chmod g+rw ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} -ADD passwd.template /passwd.template - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -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"] diff --git a/games/dayz/README.md b/games/dayz/README.md deleted file mode 100644 index e13db6b..0000000 --- a/games/dayz/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# DayZ - -Docker container designed to run Bohemia Interactive's DayZ dedicated server. diff --git a/games/dayz/entrypoint.sh b/games/dayz/entrypoint.sh deleted file mode 100644 index 8359fde..0000000 --- a/games/dayz/entrypoint.sh +++ /dev/null @@ -1,287 +0,0 @@ -#!/bin/bash - -## File: DayZ Image - entrypoint.sh -## Author: David Wolfe (Red-Thirten) -## Contributors: Aussie Server Hosts (https://aussieserverhosts.com/) -## Date: 2024/06/05 -## License: MIT License - -## === CONSTANTS === -STEAMCMD_DIR="./steamcmd" # SteamCMD's directory containing steamcmd.sh -WORKSHOP_DIR="./Steam/steamapps/workshop" # SteamCMD's directory containing workshop downloads -STEAMCMD_LOG="${STEAMCMD_DIR}/steamcmd.log" # Log file for SteamCMD -GAME_ID=221100 # SteamCMD ID for the DayZ GAME (not server). Only used for Workshop mod downloads. - -# Color Codes -CYAN='\033[0;36m' -GREEN='\033[0;32m' -YELLOW='\033[1;33m' -RED='\033[0;31m' -NC='\033[0m' # No Color - -## === ENVIRONMENT VARS === -# STARTUP, STARTUP_PARAMS, STEAM_USER, STEAM_PASS, SERVER_BINARY, MOD_FILE, MODIFICATIONS, SERVERMODS, UPDATE_SERVER, VALIDATE_SERVER, MODS_LOWERCASE, STEAMCMD_EXTRA_FLAGS, STEAMCMD_APPID, SERVER_PASSWORD, STEAMCMD_ATTEMPTS, DISABLE_MOD_UPDATES - -## === GLOBAL VARS === -# validateServer, extraFlags, updateAttempt, modifiedStartup, allMods, CLIENT_MODS - -## === DEFINE FUNCTIONS === - -# Runs SteamCMD with specified variables and performs error handling. -function RunSteamCMD { #[Input: int server=0 mod=1; int id] - # Clear previous SteamCMD log - if [[ -f "${STEAMCMD_LOG}" ]]; then - rm -f "${STEAMCMD_LOG:?}" - fi - - updateAttempt=0 - while (($updateAttempt < $STEAMCMD_ATTEMPTS)); do # Loop for specified number of attempts - # Increment attempt counter - updateAttempt=$((updateAttempt + 1)) - - if (($updateAttempt > 1)); then # Notify if not first attempt - echo -e "\t${YELLOW}Re-Attempting download/update in 3 seconds...${NC} (Attempt ${CYAN}${updateAttempt}${NC} of ${CYAN}${STEAMCMD_ATTEMPTS}${NC})\n" - sleep 3 - fi - - # Check if updating server or mod - if [[ $1 == 0 ]]; then # Server - ${STEAMCMD_DIR}/steamcmd.sh +force_install_dir /home/container "+login \"${STEAM_USER}\" \"${STEAM_PASS}\"" +app_update $2 $extraFlags $validateServer +quit | tee -a "${STEAMCMD_LOG}" - else # Mod - ${STEAMCMD_DIR}/steamcmd.sh "+login \"${STEAM_USER}\" \"${STEAM_PASS}\"" +workshop_download_item $GAME_ID $2 +quit | tee -a "${STEAMCMD_LOG}" - fi - - # Error checking for SteamCMD - steamcmdExitCode=${PIPESTATUS[0]} - if [[ -n $(grep -i "error\|failed" "${STEAMCMD_LOG}" | grep -iv "setlocal\|SDL\|thread") ]]; then # Catch errors (ignore setlocale, SDL, and thread priority warnings) - # Soft errors - if [[ -n $(grep -i "Timeout downloading item" "${STEAMCMD_LOG}") ]]; then # Mod download timeout - echo -e "\n${YELLOW}[UPDATE]: ${NC}Timeout downloading Steam Workshop mod: \"${CYAN}${modName}${NC}\" (${CYAN}${2}${NC})" - echo -e "\t(This is expected for particularly large mods)" - elif [[ -n $(grep -i "0x402\|0x6\|0x602" "${STEAMCMD_LOG}") ]]; then # Connection issue with Steam - echo -e "\n${YELLOW}[UPDATE]: ${NC}Connection issue with Steam servers." - echo -e "\t(Steam servers may currently be down, or a connection cannot be made reliably)" - # Hard errors - elif [[ -n $(grep -i "Password check for AppId" "${STEAMCMD_LOG}") ]]; then # Incorrect beta branch password - echo -e "\n${RED}[UPDATE]: ${YELLOW}Incorrect password given for beta branch. ${CYAN}Skipping download...${NC}" - echo -e "\t(Check your \"[ADVANCED] EXTRA FLAGS FOR STEAMCMD\" startup parameter)" - break - # Fatal errors - elif [[ -n $(grep -i "Invalid Password\|two-factor\|No subscription" "${STEAMCMD_LOG}") ]]; then # Wrong username/password, Steam Guard is turned on, or host is using anonymous account - echo -e "\n${RED}[UPDATE]: Cannot login to Steam - Improperly configured account and/or credentials" - echo -e "\t${YELLOW}Please contact your administrator/host and give them the following message:${NC}" - echo -e "\t${CYAN}Your Egg, or your client's server, is not configured with valid Steam credentials.${NC}" - echo -e "\t${CYAN}Either the username/password is wrong, or Steam Guard is not properly configured\n\taccording to this egg's documentation/README.${NC}\n" - exit 1 - elif [[ -n $(grep -i "Download item" "${STEAMCMD_LOG}") ]]; then # Steam account does not own base game for mod downloads, or unknown - echo -e "\n${RED}[UPDATE]: Cannot download mod - Download failed" - echo -e "\t${YELLOW}While unknown, this error is likely due to your host's Steam account not owning the base game.${NC}" - echo -e "\t${YELLOW}(Please contact your administrator/host if this issue persists)${NC}\n" - exit 1 - elif [[ -n $(grep -i "0x202\|0x212" "${STEAMCMD_LOG}") ]]; then # Not enough disk space - echo -e "\n${RED}[UPDATE]: Unable to complete download - Not enough storage" - echo -e "\t${YELLOW}You have run out of your allotted disk space.${NC}" - echo -e "\t${YELLOW}Please contact your administrator/host for potential storage upgrades.${NC}\n" - exit 1 - elif [[ -n $(grep -i "0x606" "${STEAMCMD_LOG}") ]]; then # Disk write failure - echo -e "\n${RED}[UPDATE]: Unable to complete download - Disk write failure" - echo -e "\t${YELLOW}This is normally caused by directory permissions issues,\n\tbut could be a more serious hardware issue.${NC}" - echo -e "\t${YELLOW}(Please contact your administrator/host if this issue persists)${NC}\n" - exit 1 - else # Unknown caught error - echo -e "\n${RED}[UPDATE]: ${YELLOW}An unknown error has occurred with SteamCMD. ${CYAN}Skipping download...${NC}" - echo -e "\t(Please contact your administrator/host if this issue persists)" - break - fi - elif [[ $steamcmdExitCode != 0 ]]; then # Unknown fatal error - echo -e "\n${RED}[UPDATE]: SteamCMD has crashed for an unknown reason!${NC} (Exit code: ${CYAN}${steamcmdExitCode}${NC})" - echo -e "\t${YELLOW}(Please contact your administrator/host for support)${NC}\n" - cp -r /tmp/dumps /home/container/dumps - exit $steamcmdExitCode - else # Success! - if [[ $1 == 0 ]]; then # Server - echo -e "\n${GREEN}[UPDATE]: Game server is up to date!${NC}" - else # Mod - # Move the downloaded mod to the root directory, and replace existing mod if needed - mkdir -p ./@$2 - rm -rf ./@$2/* - mv -f ${WORKSHOP_DIR}/content/$GAME_ID/$2/* ./@$2 - rm -d ${WORKSHOP_DIR}/content/$GAME_ID/$2 - # Make the mods contents all lowercase - ModsLowercase @$2 - # Move any .bikey's to the keys directory - echo -e "\tMoving any mod ${CYAN}.bikey${NC} files to the ${CYAN}~/keys/${NC} folder..." - find ./@$2 -name "*.bikey" -type f -exec cp {} ./keys \; - echo -e "${GREEN}[UPDATE]: Mod download/update successful!${NC}" - fi - break - fi - if (($updateAttempt == $STEAMCMD_ATTEMPTS)); then # Notify if failed last attempt - if [[ $1 == 0 ]]; then # Server - echo -e "\t${RED}Final attempt made! ${YELLOW}Unable to complete game server update. ${CYAN}Skipping...${NC}" - echo -e "\t(Please try again at a later time)" - sleep 3 - else # Mod - echo -e "\t${RED}Final attempt made! ${YELLOW}Unable to complete mod download/update. ${CYAN}Skipping...${NC}" - echo -e "\t(You may try again later, or manually upload this mod to your server via SFTP)" - sleep 3 - fi - fi - done -} - -# Takes a directory (string) as input, and recursively makes all files & folders lowercase. -function ModsLowercase { - echo -e "\n\tMaking mod ${CYAN}$1${NC} files/folders lowercase..." - for SRC in $(find ./$1 -depth); do - DST=$(dirname "${SRC}")/$(basename "${SRC}" | tr '[A-Z]' '[a-z]') - if [ "${SRC}" != "${DST}" ]; then - [ ! -e "${DST}" ] && mv -T "${SRC}" "${DST}" - fi - done -} - -# Removes duplicate items from a semicolon delimited string -function RemoveDuplicates { #[Input: str - Output: printf of new str] - if [[ -n $1 ]]; then # If nothing to compare, skip to prevent extra semicolon being returned - echo $1 | sed -e 's/;/\n/g' | sort -u | xargs printf '%s;' - fi -} - -## === ENTRYPOINT START === - -# Wait for the container to fully initialize -sleep 1 - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# Switch to the container's working directory -cd /home/container || exit 1 - -# Collect and parse all specified mods -if [[ -n ${MODIFICATIONS} ]] && [[ ${MODIFICATIONS} != *\; ]]; then # Add manually specified mods to the client-side mods list, while checking for trailing semicolon - CLIENT_MODS="${MODIFICATIONS};" -else - CLIENT_MODS=${MODIFICATIONS} -fi -# If the mod list file exists and is valid, parse and add mods to the client-side mods list -if [[ -f ${MOD_FILE} ]] && [[ -n "$(cat ${MOD_FILE} | grep 'Created by DayZ Launcher')" ]]; then - CLIENT_MODS+=$(cat ${MOD_FILE} | grep 'id=' | cut -d'=' -f3 | cut -d'"' -f1 | xargs printf '@%s;') -elif [[ -n "${MOD_FILE}" ]]; then # If MOD_FILE is not null, warn user file is missing or invalid - echo -e "\n${YELLOW}[STARTUP_WARN]: DayZ Modlist file \"${CYAN}${MOD_FILE}${YELLOW}\" could not be found, or is invalid!${NC}" - echo -e "\tEnsure your uploaded modlist's file name matches your Startup Parameter." - echo -e "\tOnly files exported from a DayZ Launcher are permitted." - if [[ -n "${CLIENT_MODS}" ]]; then - echo -e "\t${CYAN}Reverting to the manual mod list...${NC}" - fi -fi -# Add server mods to the master mods list, while checking for trailing semicolon -if [[ -n ${SERVERMODS} ]] && [[ ${SERVERMODS} != *\; ]]; then - allMods="${SERVERMODS};" -else - allMods=${SERVERMODS} -fi -allMods+=$CLIENT_MODS # Add all client-side mods to the master mod list -CLIENT_MODS=$(RemoveDuplicates ${CLIENT_MODS}) # Remove duplicate mods from CLIENT_MODS, if present -allMods=$(RemoveDuplicates ${allMods}) # Remove duplicate mods from allMods, if present -allMods=$(echo $allMods | sed -e 's/;/ /g') # Convert from string to array - -# Update everything (server and mods), if specified -if [[ ${UPDATE_SERVER} == 1 ]]; then - echo -e "\n${GREEN}[STARTUP]: ${CYAN}Starting checks for all updates...${NC}" - echo -e "(It is okay to ignore any \"SDL\" and \"thread priority\" errors during this process)\n" - - ## Update game server - echo -e "${GREEN}[UPDATE]:${NC} Checking for game server updates with App ID: ${CYAN}${STEAMCMD_APPID}${NC}..." - - if [[ ${VALIDATE_SERVER} == 1 ]]; then # Validate will be added as a parameter if specified - echo -e "\t${CYAN}File validation enabled.${NC} (This may take extra time to complete)" - validateServer="validate" - else - validateServer="" - fi - - # Determine what extra flags should be set - if [[ -n ${STEAMCMD_EXTRA_FLAGS} ]]; then - echo -e "\t(${YELLOW}Advanced${NC}) Extra SteamCMD flags specified: ${CYAN}${STEAMCMD_EXTRA_FLAGS}${NC}\n" - extraFlags=${STEAMCMD_EXTRA_FLAGS} - else - echo -e "" - extraFlags="" - fi - - RunSteamCMD 0 ${STEAMCMD_APPID} - - ## Update mods - if [[ -n $allMods ]] && [[ ${DISABLE_MOD_UPDATES} != 1 ]]; then - echo -e "\n${GREEN}[UPDATE]:${NC} Checking all ${CYAN}Steam Workshop mods${NC} for updates..." - for modID in $(echo $allMods | sed -e 's/@//g'); do - if [[ $modID =~ ^[0-9]+$ ]]; then # Only check mods that are in ID-form - # Get mod's latest update in epoch time from its Steam Workshop changelog page - latestUpdate=$(curl -sL https://steamcommunity.com/sharedfiles/filedetails/changelog/$modID | grep '

$(find @$modID | head -1 | xargs stat -c%Y)) ]]; then - # Get the mod's name from the Workshop page as well - modName=$(curl -sL https://steamcommunity.com/sharedfiles/filedetails/changelog/$modID | grep 'workshopItemTitle' | cut -d'>' -f2 | cut -d'<' -f1) - if [[ -z $modName ]]; then # Set default name if unavailable - modName="[NAME UNAVAILABLE]" - fi - if [[ ! -d @$modID ]]; then - echo -e "\n${GREEN}[UPDATE]:${NC} Downloading new Mod: \"${CYAN}${modName}${NC}\" (${CYAN}${modID}${NC})" - else - echo -e "\n${GREEN}[UPDATE]:${NC} Mod update found for: \"${CYAN}${modName}${NC}\" (${CYAN}${modID}${NC})" - fi - if [[ -n $latestUpdate ]] && [[ $latestUpdate =~ ^[0-9]+$ ]]; then # Notify last update date, if valid - echo -e "\tMod was last updated: ${CYAN}$(date -d @${latestUpdate})${NC}" - fi - - # Delete SteamCMD appworkshop cache before running to avoid mod download failures - echo -e "\tClearing SteamCMD appworkshop cache..." - rm -f ${WORKSHOP_DIR}/appworkshop_$GAME_ID.acf - - echo -e "\tAttempting mod update/download via SteamCMD...\n" - RunSteamCMD 1 $modID - fi - fi - done - echo -e "${GREEN}[UPDATE]:${NC} Steam Workshop mod update check ${GREEN}complete${NC}!" - fi -fi - -# Check if specified server binary exists. -if [[ ! -f ./${SERVER_BINARY} ]]; then - echo -e "\n${RED}[STARTUP_ERR]: Specified DayZ server binary could not be found in the root directory!${NC}" - echo -e "${YELLOW}Please do the following to resolve this issue:${NC}" - echo -e "\t${CYAN}- Double check your \"Server Binary\" Startup Variable is correct.${NC}" - echo -e "\t${CYAN}- Ensure your server has properly installed/updated without errors (reinstalling/updating again may help).${NC}" - echo -e "\t${CYAN}- Use the File Manager to check that your specified server binary file is not missing from the root directory.${NC}\n" - exit 1 -fi - -# Make mods lowercase, if specified -if [[ ${MODS_LOWERCASE} == "1" ]]; then - for modDir in $allMods; do - ModsLowercase $modDir - done -fi - -# Setup NSS Wrapper for use ($NSS_WRAPPER_PASSWD and $NSS_WRAPPER_GROUP have been set by the Dockerfile) -export USER_ID=$(id -u) -export GROUP_ID=$(id -g) -envsubst ${NSS_WRAPPER_PASSWD} -export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libnss_wrapper.so - -# Replace Startup Variables -modifiedStartup=$(eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')) - -# Start the Server -echo -e "\n${GREEN}[STARTUP]:${NC} Starting server with the following startup command:" -echo -e "${CYAN}${modifiedStartup}${NC}\n" -${modifiedStartup} - -if [ $? -ne 0 ]; then - echo -e "\n${RED}[STARTUP_ERR]: There was an error while attempting to run the start command.${NC}\n" - exit 1 -fi diff --git a/games/dayz/passwd.template b/games/dayz/passwd.template deleted file mode 100644 index 2b0dd45..0000000 --- a/games/dayz/passwd.template +++ /dev/null @@ -1,26 +0,0 @@ -root:x:0:0:root:/root:/bin/bash -daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin -bin:x:2:2:bin:/bin:/usr/sbin/nologin -sys:x:3:3:sys:/dev:/usr/sbin/nologin -sync:x:4:65534:sync:/bin:/bin/sync -games:x:5:60:games:/usr/games:/usr/sbin/nologin -man:x:6:12:man:/var/cache/man:/usr/sbin/nologin -lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin -mail:x:8:8:mail:/var/mail:/usr/sbin/nologin -news:x:9:9:news:/var/spool/news:/usr/sbin/nologin -uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin -proxy:x:13:13:proxy:/bin:/usr/sbin/nologin -www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin -backup:x:34:34:backup:/var/backups:/usr/sbin/nologin -list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin -irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin -gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin -nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin -systemd-timesync:x:100:102:systemd Time Synchronization,,,:/run/systemd:/bin/false -systemd-network:x:101:103:systemd Network Management,,,:/run/systemd/netif:/bin/false -systemd-resolve:x:102:104:systemd Resolver,,,:/run/systemd/resolve:/bin/false -systemd-bus-proxy:x:103:105:systemd Bus Proxy,,,:/run/systemd:/bin/false -syslog:x:104:108::/home/syslog:/bin/false -messagebus:x:106:109::/var/run/dbus:/bin/false -bind:x:108:112::/var/cache/bind:/bin/false -${USER}:x:${USER_ID}:${GROUP_ID}:${USER}:${HOME}:/bin/bash \ No newline at end of file diff --git a/games/minetest/Dockerfile b/games/minetest/Dockerfile deleted file mode 100644 index 45bac05..0000000 --- a/games/minetest/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ubuntu:22.04 -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt update -y \ - && apt install -y curl ca-certificates openssl git tar gnupg2 sqlite3 fontconfig tzdata iproute2 libfreetype6 software-properties-common \ - && useradd -d /home/container -m container - -RUN add-apt-repository -y ppa:minetestdevs/stable -RUN apt update && apt -y install minetest - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./entrypoint.sh /entrypoint.sh -CMD [ "/bin/bash", "/entrypoint.sh" ] diff --git a/games/minetest/entrypoint.sh b/games/minetest/entrypoint.sh deleted file mode 100644 index 1da878d..0000000 --- a/games/minetest/entrypoint.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -# Default the TZ environment variable to UTC. -TZ=${TZ:-UTC} -export TZ - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# Switch to the container's working directory -cd /home/container || exit 1 - -# Print minetest version -printf "\033[1m\033[33mcontainer@pelican~ \033[0mminetest --version\n" -minetest --version - -# 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} diff --git a/games/mohaa/Dockerfile b/games/mohaa/Dockerfile deleted file mode 100644 index 8cb60d7..0000000 --- a/games/mohaa/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM ghcr.io/darksaid98/yolks:debian - -LABEL author="Manuel Dielacher" maintainer="th3dilli@gmx.at" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN dpkg --add-architecture i386 \ - && apt update && apt upgrade -y \ - && apt install -y lib32gcc-s1 lib32stdc++6 libstdc++5:i386 - - diff --git a/games/mohaa/entrypoint.sh b/games/mohaa/entrypoint.sh deleted file mode 100644 index 11acd70..0000000 --- a/games/mohaa/entrypoint.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -cd /home/container - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# 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} diff --git a/games/mta/Dockerfile b/games/mta/Dockerfile deleted file mode 100644 index b64468e..0000000 --- a/games/mta/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ubuntu:20.04 - -ENV DEBIAN_FRONTEND=noninteractive - -## add container user -RUN useradd -m -d /home/container -s /bin/bash container - -## update base packages -RUN apt update \ - && apt upgrade -y - -## install dependencies -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 - -WORKDIR /home/container - -COPY ./entrypoint.sh /entrypoint.sh -CMD [ "/bin/bash", "/entrypoint.sh" ] diff --git a/games/mta/entrypoint.sh b/games/mta/entrypoint.sh deleted file mode 100644 index 2fdc795..0000000 --- a/games/mta/entrypoint.sh +++ /dev/null @@ -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} diff --git a/games/rust/Dockerfile b/games/rust/Dockerfile deleted file mode 100644 index 1f7e004..0000000 --- a/games/rust/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:18-slim - -ENV DEBIAN_FRONTEND=noninteractive - -RUN dpkg --add-architecture i386 \ - && apt update \ - && apt upgrade -y \ - && apt install -y lib32gcc-s1 lib32stdc++6 unzip curl iproute2 tzdata libgdiplus libsdl2-2.0-0:i386 \ - && mkdir /wrapper \ - && npm install --prefix /wrapper ws \ - && useradd -d /home/container -m container - -USER container -ENV USER=container HOME=/home/container - -WORKDIR /home/container - -COPY ./entrypoint.sh /entrypoint.sh -COPY ./wrapper.js /wrapper/wrapper.js - -CMD [ "/bin/bash", "/entrypoint.sh" ] \ No newline at end of file diff --git a/games/rust/entrypoint.sh b/games/rust/entrypoint.sh deleted file mode 100644 index b772e59..0000000 --- a/games/rust/entrypoint.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash -cd /home/container - -# Make internal Docker IP address available to processes. -export INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') - -## if auto_update is not set or to 1 update -if [ -z ${AUTO_UPDATE} ] || [ "${AUTO_UPDATE}" == "1" ]; then - # Allow for the staging branch to also update itself - ./steamcmd/steamcmd.sh +force_install_dir /home/container +login anonymous +app_update 258550 $([[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}") $([[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}") +quit -else - echo -e "Not updating game server as auto update was set to 0. Starting Server" -fi - -# Replace Startup Variables -MODIFIED_STARTUP=$(eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')) -echo ":/home/container$ ${MODIFIED_STARTUP}" - -if [[ "${FRAMEWORK}" == "carbon" ]]; then - # Carbon: https://github.com/CarbonCommunity/Carbon.Core - echo "Updating Carbon..." - curl -sSL "https://github.com/CarbonCommunity/Carbon.Core/releases/download/production_build/Carbon.Linux.Release.tar.gz" | tar zx - echo "Done updating Carbon!" - - export DOORSTOP_ENABLED=1 - export DOORSTOP_TARGET_ASSEMBLY="$(pwd)/carbon/managed/Carbon.Preloader.dll" - MODIFIED_STARTUP="LD_PRELOAD=$(pwd)/libdoorstop.so ${MODIFIED_STARTUP}" -elif [[ "${FRAMEWORK}" == "oxide-staging" ]]; then - echo "updating oxide-staging" - curl -sSL -o oxide-staging.zip "https://downloads.oxidemod.com/artifacts/Oxide.Rust/staging/Oxide.Rust-linux.zip" - unzip -o -q oxide-staging.zip - rm oxide-staging.zip - echo "Done updating oxide Staging" -elif [[ "$OXIDE" == "1" ]] || [[ "${FRAMEWORK}" == "oxide" ]]; then - # Oxide: https://github.com/OxideMod/Oxide.Rust - echo "Updating uMod..." - curl -sSL "https://github.com/OxideMod/Oxide.Rust/releases/latest/download/Oxide.Rust-linux.zip" >umod.zip - unzip -o -q umod.zip - rm umod.zip - echo "Done updating uMod!" -# else Vanilla, do nothing -fi - -# Fix for Rust not starting -export LD_LIBRARY_PATH=$(pwd)/RustDedicated_Data/Plugins/x86_64:$(pwd) - -# Run the Server -/wrapper/wrapper.js "${MODIFIED_STARTUP}" diff --git a/games/rust/wrapper.js b/games/rust/wrapper.js deleted file mode 100755 index 08b2bbe..0000000 --- a/games/rust/wrapper.js +++ /dev/null @@ -1,152 +0,0 @@ -#!/usr/bin/env node - -var startupCmd = ''; -const fs = require('fs'); -fs.writeFile('latest.log', '', (err) => { - if (err) console.log('Callback error in appendFile:' + err); -}); - -var args = process.argv.splice(process.execArgv.length + 2); -for (var i = 0; i < args.length; i++) { - if (i === args.length - 1) { - startupCmd += args[i]; - } else { - startupCmd += args[i] + ' '; - } -} - -if (startupCmd.length < 1) { - console.log('Error: Please specify a startup command.'); - process.exit(); -} - -const seenPercentage = {}; - -function filter(data) { - const str = data.toString(); - if (str.startsWith('Loading Prefab Bundle ')) { - // Rust seems to spam the same percentage, so filter out any duplicates. - const percentage = str.substr('Loading Prefab Bundle '.length); - if (seenPercentage[percentage]) return; - - seenPercentage[percentage] = true; - } - - console.log(str); -} - -var exec = require('child_process').exec; -console.log('Starting Rust...'); - -var exited = false; -const gameProcess = exec(startupCmd); -gameProcess.stdout.on('data', filter); -gameProcess.stderr.on('data', filter); -gameProcess.on('exit', function (code, signal) { - exited = true; - - if (code) { - console.log('Main game process exited with code ' + code); - // process.exit(code); - } -}); - -function initialListener(data) { - const command = data.toString().trim(); - if (command === 'quit') { - gameProcess.kill('SIGTERM'); - } else { - console.log( - 'Unable to run "' + - command + - '" due to RCON not being connected yet.' - ); - } -} -process.stdin.resume(); -process.stdin.setEncoding('utf8'); -process.stdin.on('data', initialListener); - -process.on('exit', function (code) { - if (exited) return; - - console.log('Received request to stop the process, stopping the game...'); - gameProcess.kill('SIGTERM'); -}); - -var waiting = true; -var poll = function () { - function createPacket(command) { - var packet = { - Identifier: -1, - Message: command, - Name: 'WebRcon', - }; - return JSON.stringify(packet); - } - - var serverHostname = process.env.RCON_IP - ? process.env.RCON_IP - : 'localhost'; - var serverPort = process.env.RCON_PORT; - var serverPassword = process.env.RCON_PASS; - var WebSocket = require('ws'); - var ws = new WebSocket( - 'ws://' + serverHostname + ':' + serverPort + '/' + serverPassword - ); - - ws.on('open', function open() { - console.log( - 'Connected to RCON. Generating the map now. Please wait until the server status switches to "Running".' - ); - waiting = false; - - // Hack to fix broken console output - ws.send(createPacket('status')); - - process.stdin.removeListener('data', initialListener); - gameProcess.stdout.removeListener('data', filter); - gameProcess.stderr.removeListener('data', filter); - process.stdin.on('data', function (text) { - ws.send(createPacket(text)); - }); - }); - - ws.on('message', function (data, flags) { - try { - var json = JSON.parse(data); - if (json !== undefined) { - if (json.Message !== undefined && json.Message.length > 0) { - console.log(json.Message); - const fs = require('fs'); - fs.appendFile('latest.log', '\n' + json.Message, (err) => { - if (err) - console.log('Callback error in appendFile:' + err); - }); - } - } else { - console.log('Error: Invalid JSON received'); - } - } catch (e) { - if (e) { - console.log(e); - } - } - }); - - ws.on('error', function (err) { - waiting = true; - console.log('Waiting for RCON to come up...'); - setTimeout(poll, 5000); - }); - - ws.on('close', function () { - if (!waiting) { - console.log('Connection to server closed.'); - - exited = true; - process.exit(); - } - }); -}; -poll(); diff --git a/games/samp/Dockerfile b/games/samp/Dockerfile deleted file mode 100644 index 33f6dce..0000000 --- a/games/samp/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim - -LABEL author="QuintenQVD" maintainer="josdekurk@gmail.com" - -RUN apt update \ - && apt -y upgrade -RUN dpkg --add-architecture i386 \ - && apt update \ - && apt upgrade -y \ - && apt install -y libstdc++6 lib32stdc++6 tar wget curl iproute2 openssl fontconfig dirmngr ca-certificates dnsutils tzdata zip tini \ - && apt install -y libtbb12:i386 libtbb-dev:i386 libicu-dev:i386 \ - && useradd -d /home/container -m container - -RUN mkdir -p /run/systemd && echo 'docker' > /run/systemd/container -RUN rm -rf /var/lib/apt/lists/* - - # Temp fix for things that still need libssl1.1 32 bit -RUN if [ "$(uname -m)" = "x86_64" ]; then \ - wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_i386.deb && \ - dpkg -i libssl1.1_1.1.0g-2ubuntu4_i386.deb && \ - rm libssl1.1_1.1.0g-2ubuntu4_i386.deb; \ - fi - -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"] diff --git a/games/samp/entrypoint.sh b/games/samp/entrypoint.sh deleted file mode 100644 index a0fe802..0000000 --- a/games/samp/entrypoint.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -cd /home/container - -# Make internal Docker IP address available to processes. -export INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);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} diff --git a/games/source/Dockerfile b/games/source/Dockerfile deleted file mode 100644 index acbe44d..0000000 --- a/games/source/Dockerfile +++ /dev/null @@ -1,60 +0,0 @@ -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -ENV DEBIAN_FRONTEND=noninteractive - -RUN dpkg --add-architecture i386 \ - && apt update \ - && apt upgrade -y \ - && apt install -y tar curl gcc g++ lib32gcc-s1 libgcc-11-dev libgcc-12-dev libcurl4-gnutls-dev:i386 libssl-dev:i386 libcurl4:i386 lib32tinfo6 libtinfo6:i386 lib32z1 lib32stdc++6 libncurses5:i386 libcurl3-gnutls:i386 libsdl2-2.0-0:i386 iproute2 gdb libsdl1.2debian libfontconfig1 telnet net-tools netcat-traditional tzdata numactl wget tini \ - && useradd -m -d /home/container container - -## install rcon -RUN cd /tmp/ \ - && curl -sSL https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz > rcon.tar.gz \ - && tar xvf rcon.tar.gz \ - && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ - - # Temp fix for things that still need libssl1.1 -RUN if [ "$(uname -m)" = "x86_64" ]; then \ - wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb && \ - dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb && \ - rm libssl1.1_1.1.0g-2ubuntu4_amd64.deb; \ - fi - -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"] diff --git a/games/source/entrypoint.sh b/games/source/entrypoint.sh deleted file mode 100644 index c21ef5d..0000000 --- a/games/source/entrypoint.sh +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/bash - -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -# Wait for the container to fully initialize -sleep 1 - -# Default the TZ environment variable to UTC. -TZ=${TZ:-UTC} -export TZ - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# Switch to the container's working directory -cd /home/container || exit 1 - -## just in case someone removed the defaults. -if [ "${STEAM_USER}" == "" ]; then - echo -e "steam user is not set.\n" - echo -e "Using anonymous user.\n" - STEAM_USER=anonymous - STEAM_PASS="" - STEAM_AUTH="" -else - echo -e "user set to ${STEAM_USER}" -fi - -## if auto_update is not set or to 1 update -if [ -z ${AUTO_UPDATE} ] || [ "${AUTO_UPDATE}" == "1" ]; then - # Update Source Server - if [ ! -z ${SRCDS_APPID} ]; then - if [ "${STEAM_USER}" == "anonymous" ]; then - ./steamcmd/steamcmd.sh +force_install_dir /home/container +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $([[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows') +app_update 1007 +app_update ${SRCDS_APPID} $([[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}") $([[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}") $([[ -z ${HLDS_GAME} ]] || printf %s "+app_set_config 90 mod ${HLDS_GAME}") $([[ -z ${VALIDATE} ]] || printf %s "validate") +quit - else - numactl --physcpubind=+0 ./steamcmd/steamcmd.sh +force_install_dir /home/container +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $([[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows') +app_update 1007 +app_update ${SRCDS_APPID} $([[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}") $([[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}") $([[ -z ${HLDS_GAME} ]] || printf %s "+app_set_config 90 mod ${HLDS_GAME}") $([[ -z ${VALIDATE} ]] || printf %s "validate") +quit - fi - else - echo -e "No appid set. Starting Server" - fi - -else - echo -e "Not updating game server as auto update was set to 0. Starting Server" -fi - -# Replace Startup Variables -MODIFIED_STARTUP=$(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g') -echo -e ":/home/container$ ${MODIFIED_STARTUP}" - -# Run the Server -eval ${MODIFIED_STARTUP} diff --git a/games/thebattleforwesnoth/Dockerfile b/games/thebattleforwesnoth/Dockerfile deleted file mode 100644 index d1c33ce..0000000 --- a/games/thebattleforwesnoth/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -## update base packages -RUN apt update && apt upgrade -y - -## install dependencies -RUN apt install -y gcc g++ libgcc1 libc++-dev gdb libc6 git tar zip unzip libssl-dev tini iproute2 \ - libboost-filesystem-dev libboost-iostreams-dev libboost-locale-dev libboost-random-dev libboost-regex-dev libboost-program-options-dev libboost-system-dev libboost-coroutine-dev libboost-graph-dev \ - libsdl2-dev libcurl4-openssl-dev libcairo2-dev libvorbis-dev libbz2-dev zlib1g-dev libssl-dev libcrypto++-dev openssl cmake libsdl2-image-dev libsdl2-mixer-dev libsdl-pango-dev - - -## add container user -RUN useradd -m -d /home/container -s /bin/bash container -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"] diff --git a/games/thebattleforwesnoth/entrypoint.sh b/games/thebattleforwesnoth/entrypoint.sh deleted file mode 100644 index 461e6b9..0000000 --- a/games/thebattleforwesnoth/entrypoint.sh +++ /dev/null @@ -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 ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g') -echo -e ":/home/container$ ${MODIFIED_STARTUP}" - -# Run the Server -eval ${MODIFIED_STARTUP} diff --git a/games/valheim/Dockerfile b/games/valheim/Dockerfile deleted file mode 100644 index 2d54726..0000000 --- a/games/valheim/Dockerfile +++ /dev/null @@ -1,62 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ubuntu:22.04 - -LABEL author="Daniel Barton" maintainer="danny6167@gmail.com" - -ENV DEBIAN_FRONTEND=noninteractive - -## add container user -RUN useradd -m -d /home/container -s /bin/bash container - -## Update base packages -RUN apt update \ - && apt upgrade -y - -## Install dependencies -RUN apt install -y libc++-dev liblzo2-2 cabextract net-tools libatomic1 libsdl1.2debian libsdl2-2.0-0 \ - libfontconfig libicu70 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadbclient-dev-compat libduktape207 ffmpeg apt-transport-https software-properties-common ca-certificates \ - libz-dev rapidjson-dev tzdata libevent-dev libzip4 libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libgdiplus tini - -RUN dpkg --add-architecture armhf \ - && apt update -y \ - && apt upgrade -y \ - && apt install -y build-essential cmake gcc-arm-linux-gnueabihf git libc6:armhf libncurses5:armhf libstdc++6:armhf libpulse0 locales git wget curl tar zip unzip binutils xz-utils gnupg2 iproute2 gettext libnss-wrapper -# RUN dpkg --add-architecture i386 \ -# && apt update \ -# && apt upgrade -y \ -# && apt install -y libcurl4-gnutls-dev:i386 libssl3:i386 libcurl4:i386 lib32tinfo6 libtinfo6:i386 lib32z1 lib32stdc++6 libncurses5:i386 libcurl3-gnutls:i386 libsdl2-2.0-0:i386 \ -# gcc g++ libgcc1 libc++-dev gdb libc6 curl tar iproute2 net-tools libatomic1 libsdl1.2debian libsdl2-2.0-0 \ -# libfontconfig locales libcurl3-gnutls libpulse-dev libpulse0 libnss-wrapper gettext tini - -## configure locale -RUN update-locale lang=en_US.UTF-8 \ - && dpkg-reconfigure --frontend noninteractive locales - -## Install box64 -RUN wget https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt/sources.list.d/box64.list \ - && wget -qO- https://ryanfortner.github.io/box64-debs/KEY.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg \ - && apt update && apt install box64-rpi4arm64 -y - -## Install box86 -RUN wget https://ryanfortner.github.io/box86-debs/box86.list -O /etc/apt/sources.list.d/box86.list \ - && wget -qO- https://ryanfortner.github.io/box86-debs/KEY.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/box86-debs-archive-keyring.gpg \ - && apt update && apt install box86-rpi4arm64 -y - -ENV USER=container HOME=/home/container -WORKDIR /home/container - - - -## Prepare NSS Wrapper for the entrypoint as a workaround for Valheim requiring a valid UID -ENV NSS_WRAPPER_PASSWD=/tmp/passwd NSS_WRAPPER_GROUP=/tmp/group -RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \ - && chgrp 0 ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \ - && chmod g+rw ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} -ADD passwd.template /passwd.template - - -STOPSIGNAL SIGINT - -COPY --chown=container:container ./entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/usr/bin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] diff --git a/games/valheim/entrypoint.sh b/games/valheim/entrypoint.sh deleted file mode 100644 index 624f5c9..0000000 --- a/games/valheim/entrypoint.sh +++ /dev/null @@ -1,44 +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 - -## just in case someone removed the defaults. -if [ "${STEAM_USER}" == "" ]; then - echo -e "steam user is not set.\n" - echo -e "Using anonymous user.\n" - STEAM_USER=anonymous - STEAM_PASS="" - STEAM_AUTH="" -else - echo -e "user set to ${STEAM_USER}" -fi - -## if auto_update is not set or to 1 update -if [ -z ${AUTO_UPDATE} ] || [ "${AUTO_UPDATE}" == "1" ]; then - # Update Source Server - if [ ! -z ${SRCDS_APPID} ]; then - ./steamcmd/steamcmd.sh +force_install_dir /home/container +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $([[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows') +app_update 1007 +app_update ${SRCDS_APPID} $([[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}") $([[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}") $([[ -z ${HLDS_GAME} ]] || printf %s "+app_set_config 90 mod ${HLDS_GAME}") $([[ -z ${VALIDATE} ]] || printf %s "validate") +quit - else - echo -e "No appid set. Starting Server" - fi - -else - echo -e "Not updating game server as auto update was set to 0. Starting Server" -fi - -# Setup NSS Wrapper for use ($NSS_WRAPPER_PASSWD and $NSS_WRAPPER_GROUP have been set by the Dockerfile) -export USER_ID=$(id -u) -export GROUP_ID=$(id -g) -envsubst ${NSS_WRAPPER_PASSWD} - -export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libnss_wrapper.so - -# 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} diff --git a/games/valheim/passwd.template b/games/valheim/passwd.template deleted file mode 100644 index d14bace..0000000 --- a/games/valheim/passwd.template +++ /dev/null @@ -1,26 +0,0 @@ -root:x:0:0:root:/root:/bin/bash -daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin -bin:x:2:2:bin:/bin:/usr/sbin/nologin -sys:x:3:3:sys:/dev:/usr/sbin/nologin -sync:x:4:65534:sync:/bin:/bin/sync -games:x:5:60:games:/usr/games:/usr/sbin/nologin -man:x:6:12:man:/var/cache/man:/usr/sbin/nologin -lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin -mail:x:8:8:mail:/var/mail:/usr/sbin/nologin -news:x:9:9:news:/var/spool/news:/usr/sbin/nologin -uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin -proxy:x:13:13:proxy:/bin:/usr/sbin/nologin -www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin -backup:x:34:34:backup:/var/backups:/usr/sbin/nologin -list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin -irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin -gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin -nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin -systemd-timesync:x:100:102:systemd Time Synchronization,,,:/run/systemd:/bin/false -systemd-network:x:101:103:systemd Network Management,,,:/run/systemd/netif:/bin/false -systemd-resolve:x:102:104:systemd Resolver,,,:/run/systemd/resolve:/bin/false -systemd-bus-proxy:x:103:105:systemd Bus Proxy,,,:/run/systemd:/bin/false -syslog:x:104:108::/home/syslog:/bin/false -messagebus:x:106:109::/var/run/dbus:/bin/false -bind:x:108:112::/var/cache/bind:/bin/false -${USER_NAME}:x:${USER_ID}:${GROUP_ID}:${USER_NAME}:${HOME}:/bin/bash diff --git a/go/1.14/Dockerfile b/go/1.14/Dockerfile deleted file mode 100644 index c3fba15..0000000 --- a/go/1.14/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH golang:1.14-alpine - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates tzdata git \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/go/1.15/Dockerfile b/go/1.15/Dockerfile deleted file mode 100644 index 5076597..0000000 --- a/go/1.15/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH golang:1.15-alpine - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates tzdata git \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/go/1.16/Dockerfile b/go/1.16/Dockerfile deleted file mode 100644 index e1f7c11..0000000 --- a/go/1.16/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH golang:1.16-alpine - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates tzdata git \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/go/1.17/Dockerfile b/go/1.17/Dockerfile deleted file mode 100644 index 7a77981..0000000 --- a/go/1.17/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH golang:1.17-alpine - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates tzdata git \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/go/1.18/Dockerfile b/go/1.18/Dockerfile deleted file mode 100644 index 41bc189..0000000 --- a/go/1.18/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH golang:1.18-alpine - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates tzdata git \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/go/1.19/Dockerfile b/go/1.19/Dockerfile deleted file mode 100644 index 9bc9ba7..0000000 --- a/go/1.19/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH golang:1.19-alpine - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates tzdata git \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/go/1.20/Dockerfile b/go/1.20/Dockerfile deleted file mode 100644 index 8d2be44..0000000 --- a/go/1.20/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH golang:1.20-alpine - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates tzdata git \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/go/1.21/Dockerfile b/go/1.21/Dockerfile deleted file mode 100644 index 658e500..0000000 --- a/go/1.21/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH golang:1.21-alpine - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates tzdata git \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/go/1.22/Dockerfile b/go/1.22/Dockerfile deleted file mode 100644 index e475cbd..0000000 --- a/go/1.22/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH golang:1.22-alpine - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates tzdata git \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/go/1.23/Dockerfile b/go/1.23/Dockerfile deleted file mode 100644 index 7c6e527..0000000 --- a/go/1.23/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH golang:1.23-alpine - - -RUN apk add --update --no-cache ca-certificates tzdata git \ - && adduser -D -h /home/container container - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/ash", "/entrypoint.sh" ] diff --git a/go/entrypoint.sh b/go/entrypoint.sh deleted file mode 100644 index 5de2ba6..0000000 --- a/go/entrypoint.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/ash - -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -# Default the TZ environment variable to UTC. -TZ=${TZ:-UTC} -export TZ - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# Switch to the container's working directory -cd /home/container || exit 1 - -# Print Go version -printf "\033[1m\033[33mcontainer@pelican~ \033[0mgo version\n" -go version - -# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell -# variable format of "${VARIABLE}" before evaluating the string and automatically -# replacing the values. -PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g') - -# Display the command we're running in the output, and then execute it with eval -printf "\033[1m\033[33mcontainer@pelican~ \033[0m" -echo "$PARSED" -# shellcheck disable=SC2086 -eval "$PARSED" diff --git a/installers/alpine/Dockerfile b/installers/alpine/Dockerfile deleted file mode 100644 index 8072d6d..0000000 --- a/installers/alpine/Dockerfile +++ /dev/null @@ -1,30 +0,0 @@ -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH alpine:latest - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apk add --update --no-cache ca-certificates curl unzip tar git jq wget diff --git a/installers/debian/Dockerfile b/installers/debian/Dockerfile deleted file mode 100644 index cb573cc..0000000 --- a/installers/debian/Dockerfile +++ /dev/null @@ -1,53 +0,0 @@ -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt update && apt upgrade -y \ - && apt -y --no-install-recommends install ca-certificates curl git unzip zip tar jq wget gnupg2 - -# Only install the needed steamcmd packages on the AMD64 build -RUN if [ "$(uname -m)" = "x86_64" ]; then \ - dpkg --add-architecture i386 && \ - apt update && \ - apt -y install lib32gcc-s1 libsdl2-2.0-0:i386; \ - fi - -# Only install the needed steamcmd packages on the AARCH64 build -RUN if [ "$(uname -m)" = "aarch64" ]; then \ - dpkg --add-architecture armhf && \ - apt update && \ - apt -y install lib32gcc-s1-amd64-cross libsdl2-2.0-0; \ - wget https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt/sources.list.d/box64.list \ - && wget -qO- https://ryanfortner.github.io/box64-debs/KEY.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg \ - && apt update && apt install box64-rpi4arm64 -y; \ - wget https://ryanfortner.github.io/box86-debs/box86.list -O /etc/apt/sources.list.d/box86.list \ - && wget -qO- https://ryanfortner.github.io/box86-debs/KEY.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/box86-debs-archive-keyring.gpg \ - && apt update && apt install box86-rpi4arm64 -y; \ - fi diff --git a/installers/ubuntu/Dockerfile b/installers/ubuntu/Dockerfile deleted file mode 100644 index bcfa60b..0000000 --- a/installers/ubuntu/Dockerfile +++ /dev/null @@ -1,34 +0,0 @@ -# -# Copyright (c) 2022 oliver194 -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH ubuntu:jammy - -LABEL author="oliver194" maintainer="100048880+oliver194@users.noreply.github.com" - -LABEL org.opencontainers.image.source="https://github.com/oliver194/yolks" -LABEL org.opencontainers.image.licenses=MIT - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt update \ - && apt upgrade -y \ - && apt -y --no-install-recommends install ca-certificates curl git unzip zip tar jq diff --git a/java/11/Dockerfile b/java/11/Dockerfile deleted file mode 100644 index fe130bd..0000000 --- a/java/11/Dockerfile +++ /dev/null @@ -1,37 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:11-jdk-noble - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apt update -y \ - && apt install -y \ - curl \ - lsof \ - ca-certificates \ - openssl \ - git \ - tar \ - sqlite3 \ - fontconfig \ - tzdata \ - iproute2 \ - libfreetype6 \ - tini \ - zip \ - unzip - - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -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"] diff --git a/java/11j9/Dockerfile b/java/11j9/Dockerfile deleted file mode 100644 index 6098eb9..0000000 --- a/java/11j9/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ibm-semeru-runtimes:open-11-jdk - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -RUN apt update -y \ - && apt install -y \ - curl \ - lsof \ - ca-certificates \ - openssl \ - git \ - tar \ - sqlite3 \ - fontconfig \ - tzdata \ - iproute2 \ - libfreetype6 \ - tini \ - zip \ - unzip - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -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"] diff --git a/java/16/Dockerfile b/java/16/Dockerfile deleted file mode 100644 index 7d17918..0000000 --- a/java/16/Dockerfile +++ /dev/null @@ -1,36 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:16-jdk-focal - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apt update -y \ - && apt install -y \ - curl \ - lsof \ - ca-certificates \ - openssl \ - git \ - tar \ - sqlite3 \ - fontconfig \ - tzdata \ - iproute2 \ - libfreetype6 \ - tini \ - zip \ - unzip - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -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"] diff --git a/java/16j9/Dockerfile b/java/16j9/Dockerfile deleted file mode 100644 index e26b6d8..0000000 --- a/java/16j9/Dockerfile +++ /dev/null @@ -1,34 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ibm-semeru-runtimes:open-16-jdk - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -RUN apt update -y \ - && apt install -y \ - curl \ - lsof \ - ca-certificates \ - openssl \ - git \ - tar \ - sqlite3 \ - fontconfig \ - tzdata \ - iproute2 \ - libfreetype6 \ - tini \ - zip \ - unzip - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -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"] - diff --git a/java/17/Dockerfile b/java/17/Dockerfile deleted file mode 100644 index 47dd1cd..0000000 --- a/java/17/Dockerfile +++ /dev/null @@ -1,36 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:17-jdk-noble - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apt update -y \ - && apt install -y \ - curl \ - lsof \ - ca-certificates \ - openssl \ - git \ - tar \ - sqlite3 \ - fontconfig \ - tzdata \ - iproute2 \ - libfreetype6 \ - tini \ - zip \ - unzip - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -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"] diff --git a/java/19/Dockerfile b/java/19/Dockerfile deleted file mode 100644 index 53627ba..0000000 --- a/java/19/Dockerfile +++ /dev/null @@ -1,36 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:19-jdk-focal - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apt update -y \ - && apt install -y \ - curl \ - lsof \ - ca-certificates \ - openssl \ - git \ - tar \ - sqlite3 \ - fontconfig \ - tzdata \ - iproute2 \ - libfreetype6 \ - tini \ - zip \ - unzip - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -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"] diff --git a/java/21/Dockerfile b/java/21/Dockerfile deleted file mode 100644 index 205ddc1..0000000 --- a/java/21/Dockerfile +++ /dev/null @@ -1,36 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:21-jdk-noble - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apt update -y \ - && apt install -y \ - curl \ - lsof \ - ca-certificates \ - openssl \ - git \ - tar \ - sqlite3 \ - fontconfig \ - tzdata \ - iproute2 \ - libfreetype6 \ - tini \ - zip \ - unzip - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -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"] diff --git a/java/8/Dockerfile b/java/8/Dockerfile deleted file mode 100644 index 812a241..0000000 --- a/java/8/Dockerfile +++ /dev/null @@ -1,36 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:8-jdk-noble - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -RUN apt update -y \ - && apt install -y \ - curl \ - lsof \ - ca-certificates \ - openssl \ - git \ - tar \ - sqlite3 \ - fontconfig \ - tzdata \ - iproute2 \ - libfreetype6 \ - tini \ - zip \ - unzip - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -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"] diff --git a/java/8j9/Dockerfile b/java/8j9/Dockerfile deleted file mode 100644 index 5843a20..0000000 --- a/java/8j9/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ibm-semeru-runtimes:open-8-jdk - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -RUN apt update -y \ - && apt install -y \ - curl \ - lsof \ - ca-certificates \ - openssl \ - git \ - tar \ - sqlite3 \ - fontconfig \ - tzdata \ - iproute2 \ - libfreetype6 \ - tini \ - zip \ - unzip - -## Setup user and working directory -RUN useradd -m -d /home/container -s /bin/bash container -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"] diff --git a/java/entrypoint.sh b/java/entrypoint.sh deleted file mode 100755 index 23b662a..0000000 --- a/java/entrypoint.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -# Default the TZ environment variable to UTC. -TZ=${TZ:-UTC} -export TZ - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# Switch to the container's working directory -cd /home/container || exit 1 - -# Print Java version -printf "\033[1m\033[33mcontainer@pelican~ \033[0mjava -version\n" -java -version - -# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell -# variable format of "${VARIABLE}" before evaluating the string and automatically -# replacing the values. -PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g') - -# Display the command we're running in the output, and then execute it with eval -printf "\033[1m\033[33mcontainer@pelican~ \033[0m" -echo "$PARSED" -# shellcheck disable=SC2086 -eval "$PARSED" diff --git a/mariadb/10.3/Dockerfile b/mariadb/10.3/Dockerfile deleted file mode 100644 index 1c9db09..0000000 --- a/mariadb/10.3/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ----------------------------------------------------- -# 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"] diff --git a/mariadb/10.4/Dockerfile b/mariadb/10.4/Dockerfile deleted file mode 100644 index 37e42d9..0000000 --- a/mariadb/10.4/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ----------------------------------------------------- -# 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"] diff --git a/mariadb/10.5/Dockerfile b/mariadb/10.5/Dockerfile deleted file mode 100644 index ab7d5be..0000000 --- a/mariadb/10.5/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ----------------------------------------------------- -# 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"] diff --git a/mariadb/10.6/Dockerfile b/mariadb/10.6/Dockerfile deleted file mode 100644 index 60f3939..0000000 --- a/mariadb/10.6/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ----------------------------------------------------- -# 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"] diff --git a/mariadb/10.7/Dockerfile b/mariadb/10.7/Dockerfile deleted file mode 100644 index d514c83..0000000 --- a/mariadb/10.7/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ----------------------------------------------------- -# 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"] diff --git a/mariadb/11.2/Dockerfile b/mariadb/11.2/Dockerfile deleted file mode 100644 index b3398ed..0000000 --- a/mariadb/11.2/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ----------------------------------------------------- -# MariaDB Image for Pterodactyl -# ----------------------------------------------------- -FROM --platform=$TARGETOS/$TARGETARCH mariadb:11.2 - -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"] diff --git a/mariadb/11.3/Dockerfile b/mariadb/11.3/Dockerfile deleted file mode 100644 index 535e523..0000000 --- a/mariadb/11.3/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ----------------------------------------------------- -# MariaDB Image for Pterodactyl -# ----------------------------------------------------- -FROM --platform=$TARGETOS/$TARGETARCH mariadb:11.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"] diff --git a/mariadb/11.4/Dockerfile b/mariadb/11.4/Dockerfile deleted file mode 100644 index d4b2293..0000000 --- a/mariadb/11.4/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ----------------------------------------------------- -# MariaDB Image for Pterodactyl -# ----------------------------------------------------- -FROM --platform=$TARGETOS/$TARGETARCH mariadb:11.4 - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -ENV DEBIAN_FRONTEND=noninteractive - -RUN apt update -y \ - && apt install -y netcat-traditional \ - && 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"] diff --git a/mariadb/entrypoint.sh b/mariadb/entrypoint.sh deleted file mode 100644 index d3884d4..0000000 --- a/mariadb/entrypoint.sh +++ /dev/null @@ -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 ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g') -echo ":/home/container$ ${MODIFIED_STARTUP}" - -# Run the Server -eval ${MODIFIED_STARTUP} diff --git a/mongodb/4/Dockerfile b/mongodb/4/Dockerfile deleted file mode 100644 index bab5f3e..0000000 --- a/mongodb/4/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ---------------------------------- -# 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"] diff --git a/mongodb/5/Dockerfile b/mongodb/5/Dockerfile deleted file mode 100644 index aeaf3c2..0000000 --- a/mongodb/5/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ---------------------------------- -# 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"] diff --git a/mongodb/6/Dockerfile b/mongodb/6/Dockerfile deleted file mode 100644 index b347e10..0000000 --- a/mongodb/6/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ---------------------------------- -# Environment: MongoDB -# ---------------------------------- -FROM --platform=$TARGETOS/$TARGETARCH mongo:6-jammy - -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"] diff --git a/mongodb/7/Dockerfile b/mongodb/7/Dockerfile deleted file mode 100644 index ee446e6..0000000 --- a/mongodb/7/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ---------------------------------- -# Environment: MongoDB -# ---------------------------------- -FROM --platform=$TARGETOS/$TARGETARCH mongo:7-jammy - -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"] diff --git a/mongodb/entrypoint.sh b/mongodb/entrypoint.sh deleted file mode 100644 index d3884d4..0000000 --- a/mongodb/entrypoint.sh +++ /dev/null @@ -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 ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g') -echo ":/home/container$ ${MODIFIED_STARTUP}" - -# Run the Server -eval ${MODIFIED_STARTUP} diff --git a/mono/entrypoint.sh b/mono/entrypoint.sh deleted file mode 100644 index 764836e..0000000 --- a/mono/entrypoint.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash -# Wait for the container to fully initialize -sleep 1 - -# Default the TZ environment variable to UTC. -TZ=${TZ:-UTC} -export TZ - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# Switch to the container's working directory -cd /home/container || exit 1 - -if [ ! -z "${SRCDS_APPID}" ]; then - ## just in case someone removed the defaults. - if [ "${STEAM_USER}" == "" ]; then - echo -e "steam user is not set.\n" - echo -e "Using anonymous user.\n" - STEAM_USER=anonymous - STEAM_PASS="" - STEAM_AUTH="" - else - echo -e "user set to ${STEAM_USER}" - fi - - ## if auto_update is not set or to 1 update - if [ -z ${AUTO_UPDATE} ] || [ "${AUTO_UPDATE}" == "1" ]; then - # Update Source Server - if [ ! -z ${SRCDS_APPID} ]; then - if [ "${STEAM_USER}" == "anonymous" ]; then - ./steamcmd/steamcmd.sh +force_install_dir /home/container +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $([[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows') +app_update 1007 +app_update ${SRCDS_APPID} $([[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}") $([[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}") $([[ -z ${HLDS_GAME} ]] || printf %s "+app_set_config 90 mod ${HLDS_GAME}") $([[ -z ${VALIDATE} ]] || printf %s "validate") +quit - else - numactl --physcpubind=+0 ./steamcmd/steamcmd.sh +force_install_dir /home/container +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $([[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows') +app_update 1007 +app_update ${SRCDS_APPID} $([[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}") $([[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}") $([[ -z ${HLDS_GAME} ]] || printf %s "+app_set_config 90 mod ${HLDS_GAME}") $([[ -z ${VALIDATE} ]] || printf %s "validate") +quit - fi - else - echo -e "No appid set. Starting Server" - fi - - else - echo -e "Not updating game server as auto update was set to 0. Starting Server" - fi -fi - -# Replace Startup Variables -MODIFIED_STARTUP=$(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g') -echo -e ":/home/container$ ${MODIFIED_STARTUP}" - -# Run the Server -eval ${MODIFIED_STARTUP} diff --git a/mono/latest/Dockerfile b/mono/latest/Dockerfile deleted file mode 100644 index 0f6b930..0000000 --- a/mono/latest/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/darksaid98/yolks:debian - -LABEL author="Torsten Widmann" maintainer="support@goover.de" - -RUN apt update \ - && apt -y upgrade -RUN apt install -y fontconfig dirmngr numactl -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 apt update -RUN apt install -y mono-complete - -# Only install the needed steamcmd packages on the AMD64 build -RUN if [ "$(uname -m)" = "x86_64" ]; then \ - dpkg --add-architecture i386 && \ - apt update && \ - apt -y install lib32gcc-s1 libsdl2-2.0-0:i386; \ - fi - - -USER container -ENV USER=container HOME=/home/container -WORKDIR /home/container - -COPY ./entrypoint.sh /entrypoint.sh -CMD [ "/bin/bash", "/entrypoint.sh" ] diff --git a/nodejs/12/Dockerfile b/nodejs/12/Dockerfile deleted file mode 100644 index 348c9fd..0000000 --- a/nodejs/12/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:12-bullseye-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -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 \ - && useradd -m -d /home/container container - -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", "--"] -CMD ["/entrypoint.sh"] \ No newline at end of file diff --git a/nodejs/14/Dockerfile b/nodejs/14/Dockerfile deleted file mode 100644 index c0d53ee..0000000 --- a/nodejs/14/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:14-bullseye-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -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 \ - && useradd -m -d /home/container container - -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", "--"] -CMD ["/entrypoint.sh"] diff --git a/nodejs/16/Dockerfile b/nodejs/16/Dockerfile deleted file mode 100644 index 2b740bd..0000000 --- a/nodejs/16/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:16-bookworm-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -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 \ - && useradd -m -d /home/container container - -RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global - -RUN corepack enable \ - && corepack prepare pnpm@latest --activate - -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"] diff --git a/nodejs/17/Dockerfile b/nodejs/17/Dockerfile deleted file mode 100644 index 892819e..0000000 --- a/nodejs/17/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:17-bullseye-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -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 libnss3 tini \ - && useradd -m -d /home/container container - -RUN npm install npm@8.11.0 typescript ts-node @types/node --location=global - -RUN corepack enable \ - && corepack prepare pnpm@latest --activate - -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"] diff --git a/nodejs/18/Dockerfile b/nodejs/18/Dockerfile deleted file mode 100644 index ee3e920..0000000 --- a/nodejs/18/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:18-bookworm-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -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 \ - && useradd -m -d /home/container container - -RUN npm install npm@10.x.x typescript ts-node @types/node --location=global - -# 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 - -STOPSIGNAL SIGINT - -COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/usr/bin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] diff --git a/nodejs/19/Dockerfile b/nodejs/19/Dockerfile deleted file mode 100644 index 9444d2e..0000000 --- a/nodejs/19/Dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:19-bullseye-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -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 \ - && useradd -m -d /home/container container - -RUN npm install npm@latest typescript ts-node @types/node --location=global - -RUN corepack enable \ - && corepack prepare pnpm@latest --activate - -# 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 - -STOPSIGNAL SIGINT - -COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/usr/bin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] diff --git a/nodejs/20/Dockerfile b/nodejs/20/Dockerfile deleted file mode 100644 index 3617afb..0000000 --- a/nodejs/20/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:20-bookworm-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -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 \ - && useradd -m -d /home/container container - -RUN npm install npm@latest typescript ts-node @types/node --location=global - -# 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 - -STOPSIGNAL SIGINT - -COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/usr/bin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] diff --git a/nodejs/21/Dockerfile b/nodejs/21/Dockerfile deleted file mode 100644 index fd28e79..0000000 --- a/nodejs/21/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:21-bookworm-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -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 \ - && useradd -m -d /home/container container - -RUN npm install npm@10.x.x typescript ts-node @types/node --location=global - -# 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 - -STOPSIGNAL SIGINT - -COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/usr/bin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] diff --git a/nodejs/22/Dockerfile b/nodejs/22/Dockerfile deleted file mode 100644 index 21fd518..0000000 --- a/nodejs/22/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:22-bookworm-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -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 \ - && useradd -m -d /home/container container - -RUN npm install npm@latest typescript ts-node @types/node --location=global - -RUN corepack enable \ - && corepack prepare pnpm@latest --activate - -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"] diff --git a/nodejs/23/Dockerfile b/nodejs/23/Dockerfile deleted file mode 100644 index 5cb4278..0000000 --- a/nodejs/23/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH node:23-bookworm-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -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 \ - && useradd -m -d /home/container container - -RUN npm install npm@latest typescript ts-node @types/node --location=global - -# 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 - -STOPSIGNAL SIGINT - -COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/usr/bin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] diff --git a/nodejs/entrypoint.sh b/nodejs/entrypoint.sh deleted file mode 100644 index 60c2279..0000000 --- a/nodejs/entrypoint.sh +++ /dev/null @@ -1,16 +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 - -# Print Node.js Version -node -v - -# 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} diff --git a/postgres/10/Dockerfile b/postgres/10/Dockerfile deleted file mode 100644 index 075d12e..0000000 --- a/postgres/10/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -# ---------------------------------- -# 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 - -RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata - -USER container -ENV HOME /home/container -WORKDIR /home/container - -STOPSIGNAL SIGINT - -COPY --chown=container:container ../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/sbin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] diff --git a/postgres/11/Dockerfile b/postgres/11/Dockerfile deleted file mode 100644 index 992062e..0000000 --- a/postgres/11/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -# ---------------------------------- -# 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 - -RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata - -USER container -ENV HOME /home/container -WORKDIR /home/container - -STOPSIGNAL SIGINT - -COPY --chown=container:container ../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/sbin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] diff --git a/postgres/12/Dockerfile b/postgres/12/Dockerfile deleted file mode 100644 index 6dc5db1..0000000 --- a/postgres/12/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -# ---------------------------------- -# 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 - -RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata - -USER container -ENV HOME /home/container -WORKDIR /home/container - -STOPSIGNAL SIGINT - -COPY --chown=container:container ../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/sbin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] diff --git a/postgres/13/Dockerfile b/postgres/13/Dockerfile deleted file mode 100644 index d86c033..0000000 --- a/postgres/13/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -# ---------------------------------- -# 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 - -RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata - -USER container -ENV HOME /home/container -WORKDIR /home/container - -STOPSIGNAL SIGINT - -COPY --chown=container:container ../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/sbin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] diff --git a/postgres/14/Dockerfile b/postgres/14/Dockerfile deleted file mode 100644 index 4c8b019..0000000 --- a/postgres/14/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -# ---------------------------------- -# 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 - -RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata fontconfig git openssl sqlite tar tzdata - -USER container -ENV HOME /home/container -WORKDIR /home/container - -STOPSIGNAL SIGINT - -COPY --chown=container:container ../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/sbin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] \ No newline at end of file diff --git a/postgres/16/Dockerfile b/postgres/16/Dockerfile deleted file mode 100644 index a4eec38..0000000 --- a/postgres/16/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -# ---------------------------------- -# Environment: Postgres DB -# ---------------------------------- -FROM --platform=$TARGETOS/$TARGETARCH postgres:16-alpine - -LABEL author="Parker" maintainer="parker@pterodactyl.io" - -# UID 999 is the default pterodactyl user -RUN adduser -D -h /home/container container - -RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata -USER container -ENV HOME /home/container -WORKDIR /home/container - -STOPSIGNAL SIGINT - -COPY --chown=container:container ../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/sbin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] \ No newline at end of file diff --git a/postgres/9/Dockerfile b/postgres/9/Dockerfile deleted file mode 100644 index d1b5840..0000000 --- a/postgres/9/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -# ---------------------------------- -# 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 - -RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata -USER container -ENV HOME /home/container -WORKDIR /home/container - -STOPSIGNAL SIGINT - -COPY --chown=container:container ../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/sbin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] \ No newline at end of file diff --git a/postgres/entrypoint.sh b/postgres/entrypoint.sh deleted file mode 100644 index 676f0b7..0000000 --- a/postgres/entrypoint.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/ash -cd /home/container - -#output current postgres version -postgres --version - -# 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=$(eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')) -echo ":/home/container$ ${MODIFIED_STARTUP}" - -# Run the Server -eval ${MODIFIED_STARTUP} diff --git a/python/2.7/Dockerfile b/python/2.7/Dockerfile deleted file mode 100644 index eee04a5..0000000 --- a/python/2.7/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH python:2.7-slim - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -RUN apt update \ - && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps tini \ - && useradd -m -d /home/container container - -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"] \ No newline at end of file diff --git a/python/3.10/Dockerfile b/python/3.10/Dockerfile deleted file mode 100644 index d7bb607..0000000 --- a/python/3.10/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH python:3.10-slim-bookworm - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -RUN apt update \ - && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps tini \ - && useradd -m -d /home/container container - -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"] diff --git a/python/3.11/Dockerfile b/python/3.11/Dockerfile deleted file mode 100644 index 902254c..0000000 --- a/python/3.11/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH python:3.11-slim-bookworm - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -RUN apt update \ - && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps tini \ - && useradd -m -d /home/container container - -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"] diff --git a/python/3.12/Dockerfile b/python/3.12/Dockerfile deleted file mode 100644 index c695449..0000000 --- a/python/3.12/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH python:3.12-slim-bookworm - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -RUN apt update \ - && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps tini \ - && useradd -m -d /home/container container - -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"] diff --git a/python/3.7/Dockerfile b/python/3.7/Dockerfile deleted file mode 100644 index 3d426b9..0000000 --- a/python/3.7/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH python:3.7-slim-bookworm - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -RUN apt update \ - && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps tini \ - && useradd -m -d /home/container container - -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"] diff --git a/python/3.8/Dockerfile b/python/3.8/Dockerfile deleted file mode 100644 index b201ec7..0000000 --- a/python/3.8/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH python:3.8-slim-bookworm - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -RUN apt update \ - && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps tini \ - && useradd -m -d /home/container container - -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"] diff --git a/python/3.9/Dockerfile b/python/3.9/Dockerfile deleted file mode 100644 index 311a447..0000000 --- a/python/3.9/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH python:3.9-slim-bookworm - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" - -RUN apt update \ - && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps tini \ - && useradd -m -d /home/container container - -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"] \ No newline at end of file diff --git a/python/entrypoint.sh b/python/entrypoint.sh deleted file mode 100644 index aab4aea..0000000 --- a/python/entrypoint.sh +++ /dev/null @@ -1,16 +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 - -# Print current Python version -python --version - -# 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} diff --git a/redis/5/Dockerfile b/redis/5/Dockerfile deleted file mode 100644 index 6df8b2a..0000000 --- a/redis/5/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -# ---------------------------------- -# 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"] diff --git a/redis/6/Dockerfile b/redis/6/Dockerfile deleted file mode 100644 index ffa4284..0000000 --- a/redis/6/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -# ---------------------------------- -# Environment: redis -# ---------------------------------- -FROM --platform=$TARGETOS/$TARGETARCH redis:6-bookworm - -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"] diff --git a/redis/7/Dockerfile b/redis/7/Dockerfile deleted file mode 100644 index 15a64b6..0000000 --- a/redis/7/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -# ---------------------------------- -# Environment: redis -# ---------------------------------- -FROM --platform=$TARGETOS/$TARGETARCH redis:7-bookworm - -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"] diff --git a/redis/entrypoint.sh b/redis/entrypoint.sh deleted file mode 100644 index 6e19f17..0000000 --- a/redis/entrypoint.sh +++ /dev/null @@ -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 ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g') -echo ":/home/container$ ${MODIFIED_STARTUP}" - -# Run the Server -eval ${MODIFIED_STARTUP} diff --git a/rust/1.56/Dockerfile b/rust/1.56/Dockerfile deleted file mode 100644 index 7e655cf..0000000 --- a/rust/1.56/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH rust:1.56-slim - -LABEL author="Ethan Coward" maintainer="ethan.coward@icloud.com" - -RUN apt update \ - && apt -y install git dnsutils curl iproute2 ffmpeg tini pkg-config \ - && useradd -m -d /home/container container - -USER container -ENV USER=container HOME=/home/container CARGO_HOME=/home/container/.cargo -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"] \ No newline at end of file diff --git a/rust/1.60/Dockerfile b/rust/1.60/Dockerfile deleted file mode 100644 index e637221..0000000 --- a/rust/1.60/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH rust:1.60-slim - -LABEL author="Ethan Coward" maintainer="ethan.coward@icloud.com" - -RUN apt update \ - && apt -y install git dnsutils curl iproute2 ffmpeg tini pkg-config \ - && useradd -m -d /home/container container - -USER container -ENV USER=container HOME=/home/container CARGO_HOME=/home/container/.cargo -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"] \ No newline at end of file diff --git a/rust/entrypoint.sh b/rust/entrypoint.sh deleted file mode 100644 index c865f6c..0000000 --- a/rust/entrypoint.sh +++ /dev/null @@ -1,16 +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 - -# Print current Rust version -cargo --version - -# 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} diff --git a/rust/latest/Dockerfile b/rust/latest/Dockerfile deleted file mode 100644 index cae3044..0000000 --- a/rust/latest/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH rust:slim - -LABEL author="Ethan Coward" maintainer="ethan.coward@icloud.com" - -RUN apt update \ - && apt -y install git dnsutils curl iproute2 ffmpeg tini pkg-config \ - && useradd -m -d /home/container container - -USER container -ENV USER=container HOME=/home/container CARGO_HOME=/home/container/.cargo -WORKDIR /home/container - -COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/usr/bin/tini", "-g", "--"] -CMD ["/entrypoint.sh"] \ No newline at end of file diff --git a/steamcmd/debian/Dockerfile b/steamcmd/debian/Dockerfile deleted file mode 100644 index fe1baf6..0000000 --- a/steamcmd/debian/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -ENV DEBIAN_FRONTEND=noninteractive - -RUN dpkg --add-architecture i386 \ - && apt-get update \ - && apt-get upgrade -y \ - && apt-get install -y tar curl gcc g++ lib32gcc-s1 libgcc-12-dev libgcc-11-dev libcurl4-gnutls-dev:i386 libssl-dev:i386 libcurl4:i386 lib32tinfo6 libtinfo6:i386 lib32z1 lib32stdc++6 libncurses5:i386 libcurl3-gnutls:i386 libsdl2-2.0-0:i386 libsdl2-2.0-0 iproute2 gdb libsdl1.2debian libfontconfig1 telnet net-tools netcat-traditional tzdata numactl xvfb wget tini \ - && useradd -m -d /home/container container - -## install rcon -RUN cd /tmp/ \ - && curl -sSL https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz > rcon.tar.gz \ - && tar xvf rcon.tar.gz \ - && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ - - # Temp fix for things that still need libssl1.1 -RUN if [ "$(uname -m)" = "x86_64" ]; then \ - wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb && \ - dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb && \ - rm libssl1.1_1.1.0g-2ubuntu4_amd64.deb; \ - fi - -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"] diff --git a/steamcmd/dotnet/Dockerfile b/steamcmd/dotnet/Dockerfile deleted file mode 100644 index d75c228..0000000 --- a/steamcmd/dotnet/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim - -LABEL author="Torsten Widmann" maintainer="info@goover.de" - -ENV DEBIAN_FRONTEND=noninteractive - -RUN dpkg --add-architecture i386 \ - && apt update \ - && apt upgrade -y \ - && apt install -y tar curl gcc g++ lib32gcc-s1 libgcc1 libcurl4-gnutls-dev:i386 libssl-dev:i386 libcurl4:i386 lib32tinfo6 libtinfo6:i386 lib32z1 lib32stdc++6 libncurses5:i386 libcurl3-gnutls:i386 libsdl2-2.0-0:i386 iproute2 gdb libsdl1.2debian libfontconfig1 telnet net-tools netcat-traditional tzdata \ - && apt install -y libstdc++6 libstdc++6:i386 libc6-amd64 libc6:i386 psmisc libgdiplus libcurl4 libfontconfig1 libpangocairo-1.0-0 libnss3 libgconf-2-4 libxi6 libxcursor1 libxss1 libxcomposite1 libasound2 libxdamage1 libxtst6 libatk1.0-0 libxrandr2 libcurl4 xvfb mesa-utils git \ - && apt install -y python3 python3-dev python3-pip apt-transport-https wget iproute2 sqlite3 xvfb tini \ - && useradd -d /home/container -m container - -RUN apt update -y \ - && apt upgrade -y \ - && wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ - && dpkg -i packages-microsoft-prod.deb \ - && rm packages-microsoft-prod.deb \ - && apt update -y \ - && apt install -y aspnetcore-runtime-7.0 dotnet-sdk-7.0 libgdiplus aspnetcore-runtime-8.0 dotnet-sdk-8.0 - -## install rcon -RUN cd /tmp/ \ - && curl -sSL https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz > rcon.tar.gz \ - && tar xvf rcon.tar.gz \ - && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ - -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"] diff --git a/steamcmd/entrypoint.sh b/steamcmd/entrypoint.sh deleted file mode 100644 index 84810dc..0000000 --- a/steamcmd/entrypoint.sh +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/bash - -# -# Copyright (c) 2021 Matthew Penner -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -# Wait for the container to fully initialize -sleep 1 - -# Default the TZ environment variable to UTC. -TZ=${TZ:-UTC} -export TZ - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# Set environment for Steam Proton -if [ -f "/usr/local/bin/proton" ]; then - if [ ! -z ${SRCDS_APPID} ]; then - mkdir -p /home/container/.steam/steam/steamapps/compatdata/${SRCDS_APPID} - export STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/container/.steam/steam" - export STEAM_COMPAT_DATA_PATH="/home/container/.steam/steam/steamapps/compatdata/${SRCDS_APPID}" - # Fix for pipx with protontricks - export PATH=$PATH:/root/.local/bin - else - echo -e "----------------------------------------------------------------------------------" - echo -e "WARNING!!! Proton needs variable SRCDS_APPID, else it will not work. Please add it" - echo -e "Server stops now" - echo -e "----------------------------------------------------------------------------------" - exit 0 - fi -fi - -# Switch to the container's working directory -cd /home/container || exit 1 - -## just in case someone removed the defaults. -if [ "${STEAM_USER}" == "" ]; then - echo -e "steam user is not set.\n" - echo -e "Using anonymous user.\n" - STEAM_USER=anonymous - STEAM_PASS="" - STEAM_AUTH="" -else - echo -e "user set to ${STEAM_USER}" -fi - -## if auto_update is not set or to 1 update -if [ -z ${AUTO_UPDATE} ] || [ "${AUTO_UPDATE}" == "1" ]; then - # Update Source Server - if [ ! -z ${SRCDS_APPID} ]; then - if [ "${STEAM_USER}" == "anonymous" ]; then - ./steamcmd/steamcmd.sh +force_install_dir /home/container +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $([[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows') +app_update 1007 +app_update ${SRCDS_APPID} $([[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}") $([[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}") $([[ -z ${HLDS_GAME} ]] || printf %s "+app_set_config 90 mod ${HLDS_GAME}") ${INSTALL_FLAGS} $([[ "${VALIDATE}" == "1" ]] && printf %s 'validate') +quit - else - numactl --physcpubind=+0 ./steamcmd/steamcmd.sh +force_install_dir /home/container +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $([[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows') +app_update 1007 +app_update ${SRCDS_APPID} $([[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}") $([[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}") $([[ -z ${HLDS_GAME} ]] || printf %s "+app_set_config 90 mod ${HLDS_GAME}") ${INSTALL_FLAGS} $([[ "${VALIDATE}" == "1" ]] && printf %s 'validate') +quit - fi - else - echo -e "No appid set. Starting Server" - fi - -else - echo -e "Not updating game server as auto update was set to 0. Starting Server" -fi - -# Replace Startup Variables -MODIFIED_STARTUP=$(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g') -echo -e ":/home/container$ ${MODIFIED_STARTUP}" - -# Run the Server -eval ${MODIFIED_STARTUP} diff --git a/steamcmd/proton/Dockerfile b/steamcmd/proton/Dockerfile deleted file mode 100644 index 309391e..0000000 --- a/steamcmd/proton/Dockerfile +++ /dev/null @@ -1,48 +0,0 @@ -# --------------------------------------------- -# Steam Proton image -# --------------------------------------------- -FROM debian:bookworm-slim - -LABEL author="Torsten Widmann" maintainer="info@goover.de" - -## install required packages -RUN dpkg --add-architecture i386 -RUN apt update -RUN apt install -y --no-install-recommends wget iproute2 gnupg2 software-properties-common libntlm0 winbind xvfb xauth libncurses5-dev:i386 libncurses6 dbus libgdiplus lib32gcc-s1 -RUN apt install -y alsa-tools libpulse0 pulseaudio libpulse-dev libasound2 libao-common gnutls-bin gnupg locales numactl cabextract curl python3 python3-pip python3-setuptools tini file pipx -RUN useradd -d /home/container -m container - -# Download Proton GE -RUN curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep browser_download_url | cut -d\" -f4 | egrep .tar.gz)" -RUN tar -xzf GE-Proton*.tar.gz -C /usr/local/bin/ --strip-components=1 -RUN rm GE-Proton*.* - -# Proton Fix machine-id -RUN rm -f /etc/machine-id -RUN dbus-uuidgen --ensure=/etc/machine-id -RUN rm /var/lib/dbus/machine-id -RUN dbus-uuidgen --ensure - -#Setup Protontricks -RUN pipx install protontricks - -# Set up Winetricks -RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ - && chmod +x /usr/sbin/winetricks - -## install rcon -RUN cd /tmp/ \ - && curl -sSL https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz > rcon.tar.gz \ - && tar xvf rcon.tar.gz \ - && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ - -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"] \ No newline at end of file diff --git a/steamcmd/proton_8/Dockerfile b/steamcmd/proton_8/Dockerfile deleted file mode 100644 index a7a74bd..0000000 --- a/steamcmd/proton_8/Dockerfile +++ /dev/null @@ -1,48 +0,0 @@ -# --------------------------------------------- -# Steam Proton image -# --------------------------------------------- -FROM debian:bookworm-slim - -LABEL author="Torsten Widmann" maintainer="info@goover.de" - -## install required packages -RUN dpkg --add-architecture i386 -RUN apt update -RUN apt install -y --no-install-recommends wget iproute2 gnupg2 software-properties-common libntlm0 winbind xvfb xauth libncurses5-dev:i386 libncurses6 dbus libgdiplus lib32gcc-s1 -RUN apt install -y alsa-tools libpulse0 pulseaudio libpulse-dev libasound2 libao-common gnutls-bin gnupg locales numactl cabextract curl python3 python3-pip python3-setuptools tini file pipx -RUN useradd -d /home/container -m container - -# Download Proton GE -RUN curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/tags/GE-Proton8-32 | grep browser_download_url | cut -d\" -f4 | egrep .tar.gz)" -RUN tar -xzf GE-Proton*.tar.gz -C /usr/local/bin/ --strip-components=1 -RUN rm GE-Proton*.* - -# Proton Fix machine-id -RUN rm -f /etc/machine-id -RUN dbus-uuidgen --ensure=/etc/machine-id -RUN rm /var/lib/dbus/machine-id -RUN dbus-uuidgen --ensure - -#Setup Protontricks -RUN pipx install protontricks - -# Set up Winetricks -RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ - && chmod +x /usr/sbin/winetricks - -## install rcon -RUN cd /tmp/ \ - && curl -sSL https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz > rcon.tar.gz \ - && tar xvf rcon.tar.gz \ - && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ - -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"] \ No newline at end of file diff --git a/steamcmd/sniper/Dockerfile b/steamcmd/sniper/Dockerfile deleted file mode 100644 index bc4c8eb..0000000 --- a/steamcmd/sniper/Dockerfile +++ /dev/null @@ -1,31 +0,0 @@ -# --------------------------------------------- -# Steam Sniper image (RT3) -# --------------------------------------------- -FROM --platform=$TARGETOS/$TARGETARCH registry.gitlab.steamos.cloud/steamrt/sniper/platform:latest-container-runtime-depot - -LABEL author="Alexander Ballauf" maintainer="admin@ballaual.de" -LABEL org.opencontainers.image.description SteamRT3 Platform image for Pterodactyl Source engine servers. - -## install required packages -RUN dpkg --add-architecture i386 \ - && apt-get update \ - && apt-get upgrade -y \ - && apt-get install -y tar curl gcc g++ lib32gcc-s1 libgcc1 libcurl4-gnutls-dev:i386 libssl1.1:i386 libcurl4:i386 lib32tinfo6 libtinfo6:i386 lib32z1 lib32stdc++6 libncurses5:i386 libcurl3-gnutls:i386 libsdl2-2.0-0:i386 libsdl2-2.0-0 iproute2 gdb libsdl1.2debian libfontconfig1 telnet net-tools netcat tzdata numactl xvfb tini libc6 \ - && useradd -m -d /home/container container - -## install rcon -RUN cd /tmp/ \ - && curl -sSL https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz > rcon.tar.gz \ - && tar xvf rcon.tar.gz \ - && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ - -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"] \ No newline at end of file diff --git a/steamcmd/ubuntu/Dockerfile b/steamcmd/ubuntu/Dockerfile deleted file mode 100644 index 73827dc..0000000 --- a/steamcmd/ubuntu/Dockerfile +++ /dev/null @@ -1,37 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH ubuntu:22.04 - -LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -ENV DEBIAN_FRONTEND=noninteractive - -RUN dpkg --add-architecture i386 \ - && apt update \ - && apt upgrade -y \ - && apt -y install tar curl gcc g++ lib32gcc-s1 libgcc1 libcurl4-gnutls-dev:i386 libssl-dev:i386 libssl-dev libcurl4:i386 lib32tinfo6 libtinfo6:i386 lib32z1 lib32stdc++6 libncurses5:i386 libcurl3-gnutls:i386 libsdl2-2.0-0:i386 iproute2 gdb libsdl1.2debian libfontconfig1 telnet net-tools netcat tzdata libtinfo6:i386 libtbb2:i386 libtinfo5:i386 libcurl4-gnutls-dev:i386 libcurl4:i386 libncurses5:i386 libcurl3-gnutls:i386 faketime:i386 libtbb2:i386 \ - && apt -y install lib32tinfo6 lib32stdc++6 lib32z1 libtbb2 libtinfo5 libstdc++6 readline-common libncursesw5 libfontconfig1 libnss-wrapper gettext-base libc++-dev libc6-i386 libcurl4 libc6 libc6:i386 libssl3 libssl3:i386 libc6 libc6:i386 xvfb gdb libc++-dev tini - -RUN useradd -d /home/container -m container - -## Specific to pavlov_vr -RUN rm /usr/lib/x86_64-linux-gnu/libc++.so \ - && ln -s /usr/lib/x86_64-linux-gnu/libc++.so.1 /usr/lib/x86_64-linux-gnu/libc++.so - -## install rcon -RUN cd /tmp/ \ - && curl -sSL https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz > rcon.tar.gz \ - && tar xvf rcon.tar.gz \ - && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ - -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"] diff --git a/voice/mumble/Dockerfile b/voice/mumble/Dockerfile deleted file mode 100644 index 84ca88b..0000000 --- a/voice/mumble/Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim AS builder - -# Copy and run the build script -COPY build.sh /build.sh -RUN chmod +x /build.sh -RUN cd / && ./build.sh - -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim - -# Create necessary directories -RUN mkdir -p /usr/local/bin /usr/local/share/mumble - -# Copy the built Mumble server binary and the latest tag file and the build log from the builder stage -COPY --from=builder /usr/src/mumble/git/build/mumble-server /usr/local/bin/mumble-server -COPY --from=builder /usr/src/mumble/git/build/latest_tag.txt /usr/local/share/mumble/latest_tag.txt -COPY --from=builder /usr/src/mumble/build.log /usr/local/share/mumble/build.log - -# Install runtime dependencies -RUN apt update \ - && apt -y install curl tar tzdata file ca-certificates sqlite3 iproute2 tini \ - && useradd -m -d /home/container container - -# Needed packages to run the mumble server -RUN apt -y install libqt5sql5 libqt5sql5-sqlite libavahi-compat-libdnssd-dev libqt5dbus5 libzeroc-ice-dev libprotobuf-dev qtbase5-dev qtbase5-dev-tools - -# 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"] diff --git a/voice/mumble/build.sh b/voice/mumble/build.sh deleted file mode 100644 index 5775856..0000000 --- a/voice/mumble/build.sh +++ /dev/null @@ -1,155 +0,0 @@ -#!/bin/bash - -# Mumble compile script. -# Runs on Debian 12 - -LOGFILE="/usr/src/mumble/build.log" - -log() { - echo "$(date +'%Y-%m-%d %H:%M:%S') - $1" | tee -a $LOGFILE -} - -install_dep() { - log "Installing dependencies..." - apt update && apt -y install \ - build-essential \ - cmake \ - pkg-config \ - qtbase5-dev \ - qtchooser \ - qt5-qmake \ - qtbase5-dev-tools \ - qttools5-dev \ - qttools5-dev-tools \ - libqt5svg5-dev \ - libboost-dev \ - libssl-dev \ - libprotobuf-dev \ - protobuf-compiler \ - libprotoc-dev \ - libcap-dev \ - libxi-dev \ - libasound2-dev \ - libogg-dev \ - libsndfile1-dev \ - libspeechd-dev \ - libavahi-compat-libdnssd-dev \ - libxcb-xinerama0 \ - libzeroc-ice-dev \ - libpoco-dev \ - jq \ - python3 \ - curl \ - git - - if [[ $? -ne 0 ]]; then - log "Failed to install dependencies" - exit 1 - fi - log "Dependencies installed successfully" -} - -# Function to install g++-multilib on amd64 -install_amd64_multilib() { - apt -y install g++-multilib - - if [[ $? -ne 0 ]]; then - log "Failed to install amd multilib dependency" - exit 1 - fi - - log "Multilib AMD64 installed successfully" -} - -# Function to install multilib support on arm64 -install_arm64_multilib() { - apt -y install g++-multilib-x86-64-linux-gnu g++-aarch64-linux-gnu libc6-dev-armhf-cross - - if [[ $? -ne 0 ]]; then - log "Failed to install amd multilib dependency" - exit 1 - fi - - log "Multilib ARM64 installed successfully" -} - -clone_mumble() { - log "Cloning the Mumble repository..." - - # Create the necessary directories - mkdir -p /usr/src/mumble/git && cd /usr/src/mumble/git - - # Fetch the latest release tag from the GitHub API - LATEST_TAG=$(curl -s "https://api.github.com/repos/mumble-voip/mumble/releases/latest" | jq -r .tag_name) - if [[ $? -ne 0 || -z "$LATEST_TAG" ]]; then - log "Failed to fetch the latest release tag" - exit 1 - fi - echo "The latest tag is: $LATEST_TAG" | tee -a $LOGFILE - - # Clone the repository - echo "Running: git clone --branch \"$LATEST_TAG\" https://github.com/mumble-voip/mumble.git ." - git clone --branch "$LATEST_TAG" https://github.com/mumble-voip/mumble.git . - if [[ $? -ne 0 ]]; then - log "Failed to clone the repository" - exit 1 - fi - - # Clone the submodules - git submodule update --init --recursive - if [[ $? -ne 0 ]]; then - log "Failed to update submodules" - exit 1 - fi - - # Create and navigate to the build directory - mkdir -p build && cd build - - echo "$LATEST_TAG" >latest_tag.txt - - # Run cmake with the specified options - cmake -Dbundled-opus=OFF -Dclient=OFF -Dstatic=ON -DCMAKE_BUILD_TYPE=Release .. - if [[ $? -ne 0 ]]; then - log "CMake configuration failed" - exit 1 - fi - - log "Repository cloned and configured successfully" -} - -build_mumble() { - log "Building Mumble server..." - - cd /usr/src/mumble/git/build - - echo "Using $(nproc) threads to build Mumble server" | tee -a $LOGFILE - cmake --build . -j $(nproc) - if [[ $? -ne 0 ]]; then - log "Build failed" - exit 1 - fi - - ls -la | tee -a $LOGFILE - log "Build completed successfully" -} - -# Install normal deps -install_dep - -# Detect the architecture -ARCH=$(dpkg --print-architecture) - -# Install ARCH specific deps -if [ "$ARCH" = "amd64" ]; then - echo "Detected architecture: amd64" - install_amd64_multilib -elif [ "$ARCH" = "arm64" ]; then - echo "Detected architecture: arm64" - install_arm64_multilib -else - echo "Unsupported architecture: $ARCH" - exit 1 -fi - -clone_mumble -build_mumble diff --git a/voice/mumble/entrypoint.sh b/voice/mumble/entrypoint.sh deleted file mode 100644 index 292334a..0000000 --- a/voice/mumble/entrypoint.sh +++ /dev/null @@ -1,17 +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 - -# Print the Muble server version -echo -e "Mumble release version:" -cat /usr/local/share/mumble/latest_tag.txt - -# 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} diff --git a/voice/teaspeak/Dockerfile b/voice/teaspeak/Dockerfile deleted file mode 100644 index cd868fa..0000000 --- a/voice/teaspeak/Dockerfile +++ /dev/null @@ -1,56 +0,0 @@ -# -# Copyright (c) 2021 Torsten Widmann -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# - -FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim - -LABEL author="Torsten Widmann" maintainer="info@goover.de" - -LABEL org.opencontainers.image.source="https://github.com/darksaid98/yolks" -LABEL org.opencontainers.image.licenses=MIT - -ENV DEBIAN_FRONTEND=noninteractive - -## update base packages -RUN apt update \ - && apt upgrade -y - -## install dependencies -RUN apt install -y ffmpeg curl python3 iproute2 libjemalloc2 tini - -# Install latest youtube-dl -RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/youtube-dl -RUN chmod a+rx /usr/local/bin/youtube-dl - -RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1000 - -RUN useradd -m -d /home/container container - -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"] diff --git a/voice/teaspeak/entrypoint.sh b/voice/teaspeak/entrypoint.sh deleted file mode 100644 index 6142333..0000000 --- a/voice/teaspeak/entrypoint.sh +++ /dev/null @@ -1,24 +0,0 @@ -# Default the TZ environment variable to UTC. -TZ=${TZ:-UTC} -export TZ - -# Set environment variable that holds the Internal Docker IP -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -# Switch to the container's working directory -cd /home/container || exit 1 - -echo "installed youtube-dl Version:" -/usr/local/bin/youtube-dl --version - -# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell -# variable format of "${VARIABLE}" before evaluating the string and automatically -# replacing the values. -PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g') - -# Display the command we're running in the output, and then execute it with eval -printf "\033[1m\033[33mcontainer@pelican~ \033[0m" -echo "$PARSED" -# shellcheck disable=SC2086 -eval "$PARSED" diff --git a/wine/devel/Dockerfile b/wine/devel/Dockerfile deleted file mode 100644 index d62b895..0000000 --- a/wine/devel/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# --------------------------------------- -# Generic Wine image based on Wine devel -# --------------------------------------- -FROM ghcr.io/darksaid98/yolks:debian - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" -LABEL org.opencontainers.image.licenses=MIT - -## install required packages -RUN dpkg --add-architecture i386 \ - && apt update -y \ - && apt install -y --no-install-recommends gnupg2 numactl tzdata software-properties-common libntlm0 winbind xvfb xauth python3 libncurses5:i386 libncurses6:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 - -RUN cd /tmp/ \ - && curl -sSL https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz > rcon.tar.gz \ - && tar xvf rcon.tar.gz \ - && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ - -# Install wine and with recommends -RUN mkdir -pm755 /etc/apt/keyrings -RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key -RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources -RUN apt update -RUN apt install --install-recommends winehq-devel cabextract wine-binfmt -y - -# Set up Winetricks -RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ - && chmod +x /usr/sbin/winetricks - -ENV HOME=/home/container -ENV WINEPREFIX=/home/container/.wine -ENV WINEDLLOVERRIDES="mscoree,mshtml=" -ENV DISPLAY=:0 -ENV DISPLAY_WIDTH=1024 -ENV DISPLAY_HEIGHT=768 -ENV DISPLAY_DEPTH=16 -ENV AUTO_UPDATE=1 -ENV XVFB=1 - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/bash", "/entrypoint.sh" ] diff --git a/wine/entrypoint.sh b/wine/entrypoint.sh deleted file mode 100644 index 27bfb91..0000000 --- a/wine/entrypoint.sh +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/bash -cd /home/container - -# Information output -echo "Running on Debian $(cat /etc/debian_version)" -echo "Current timezone: $(cat /etc/timezone)" -wine --version - -# Make internal Docker IP address available to processes. -INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}') -export INTERNAL_IP - -## just in case someone removed the defaults. -if [ "${STEAM_USER}" == "" ]; then - echo -e "steam user is not set.\n" - echo -e "Using anonymous user.\n" - STEAM_USER=anonymous - STEAM_PASS="" - STEAM_AUTH="" -else - echo -e "user set to ${STEAM_USER}" -fi - -## if auto_update is not set or to 1 update -if [ -z ${AUTO_UPDATE} ] || [ "${AUTO_UPDATE}" == "1" ]; then - # Update Source Server - if [ ! -z ${SRCDS_APPID} ]; then - if [ "${STEAM_USER}" == "anonymous" ]; then - ./steamcmd/steamcmd.sh +force_install_dir /home/container +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $([[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows') +app_update 1007 +app_update ${SRCDS_APPID} $([[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}") $([[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}") $([[ -z ${HLDS_GAME} ]] || printf %s "+app_set_config 90 mod ${HLDS_GAME}") $([[ -z ${VALIDATE} ]] || printf %s "validate") +quit - else - numactl --physcpubind=+0 ./steamcmd/steamcmd.sh +force_install_dir /home/container +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $([[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows') +app_update 1007 +app_update ${SRCDS_APPID} $([[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}") $([[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}") $([[ -z ${HLDS_GAME} ]] || printf %s "+app_set_config 90 mod ${HLDS_GAME}") $([[ -z ${VALIDATE} ]] || printf %s "validate") +quit - fi - else - echo -e "No appid set. Starting Server" - fi - -else - echo -e "Not updating game server as auto update was set to 0. Starting Server" -fi - -if [[ $XVFB == 1 ]]; then - Xvfb :0 -screen 0 ${DISPLAY_WIDTH}x${DISPLAY_HEIGHT}x${DISPLAY_DEPTH} & -fi - -# Install necessary to run packages -echo "First launch will throw some errors. Ignore them" - -mkdir -p $WINEPREFIX - -# Check if wine-gecko required and install it if so -if [[ $WINETRICKS_RUN =~ gecko ]]; then - echo "Installing Gecko" - WINETRICKS_RUN=${WINETRICKS_RUN/gecko/} - - if [ ! -f "$WINEPREFIX/gecko_x86.msi" ]; then - wget -q -O $WINEPREFIX/gecko_x86.msi http://dl.winehq.org/wine/wine-gecko/2.47.4/wine_gecko-2.47.4-x86.msi - fi - - if [ ! -f "$WINEPREFIX/gecko_x86_64.msi" ]; then - wget -q -O $WINEPREFIX/gecko_x86_64.msi http://dl.winehq.org/wine/wine-gecko/2.47.4/wine_gecko-2.47.4-x86_64.msi - fi - - wine msiexec /i $WINEPREFIX/gecko_x86.msi /qn /quiet /norestart /log $WINEPREFIX/gecko_x86_install.log - wine msiexec /i $WINEPREFIX/gecko_x86_64.msi /qn /quiet /norestart /log $WINEPREFIX/gecko_x86_64_install.log -fi - -# Check if wine-mono required and install it if so -if [[ $WINETRICKS_RUN =~ mono ]]; then - echo "Installing mono" - WINETRICKS_RUN=${WINETRICKS_RUN/mono/} - - if [ ! -f "$WINEPREFIX/mono.msi" ]; then - wget -q -O $WINEPREFIX/mono.msi https://dl.winehq.org/wine/wine-mono/9.1.0/wine-mono-9.1.0-x86.msi - fi - - wine msiexec /i $WINEPREFIX/mono.msi /qn /quiet /norestart /log $WINEPREFIX/mono_install.log -fi - -# List and install other packages -for trick in $WINETRICKS_RUN; do - echo "Installing $trick" - winetricks -q $trick -done - -# 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} diff --git a/wine/latest/Dockerfile b/wine/latest/Dockerfile deleted file mode 100644 index ce984dd..0000000 --- a/wine/latest/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# --------------------------------------- -# Generic Wine image based on Wine stable -# --------------------------------------- -FROM ghcr.io/darksaid98/yolks:debian - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" -LABEL org.opencontainers.image.licenses=MIT - -## install required packages -RUN dpkg --add-architecture i386 \ - && apt update -y \ - && apt install -y --no-install-recommends gnupg2 numactl tzdata software-properties-common libntlm0 winbind xvfb xauth python3 libncurses5:i386 libncurses6:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 - -RUN cd /tmp/ \ - && curl -sSL https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz > rcon.tar.gz \ - && tar xvf rcon.tar.gz \ - && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ - -# Install wine and with recommends -RUN mkdir -pm755 /etc/apt/keyrings -RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key -RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources -RUN apt update -RUN apt install --install-recommends winehq-stable cabextract wine-binfmt -y - -# Set up Winetricks -RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ - && chmod +x /usr/sbin/winetricks - -ENV HOME=/home/container -ENV WINEPREFIX=/home/container/.wine -ENV WINEDLLOVERRIDES="mscoree,mshtml=" -ENV DISPLAY=:0 -ENV DISPLAY_WIDTH=1024 -ENV DISPLAY_HEIGHT=768 -ENV DISPLAY_DEPTH=16 -ENV AUTO_UPDATE=1 -ENV XVFB=1 - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/bash", "/entrypoint.sh" ] diff --git a/wine/staging/Dockerfile b/wine/staging/Dockerfile deleted file mode 100644 index 990d35a..0000000 --- a/wine/staging/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# --------------------------------------- -# Generic Wine image based on Wine staging -# --------------------------------------- -FROM ghcr.io/darksaid98/yolks:debian - -LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" -LABEL org.opencontainers.image.licenses=MIT - -## install required packages -RUN dpkg --add-architecture i386 \ - && apt update -y \ - && apt install -y --no-install-recommends gnupg2 numactl tzdata software-properties-common libntlm0 winbind xvfb xauth python3 libncurses5:i386 libncurses6:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 - -RUN cd /tmp/ \ - && curl -sSL https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz > rcon.tar.gz \ - && tar xvf rcon.tar.gz \ - && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ - -# Install wine and with recommends -RUN mkdir -pm755 /etc/apt/keyrings -RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key -RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources -RUN apt update -RUN apt install --install-recommends winehq-staging cabextract wine-binfmt -y - -# Set up Winetricks -RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ - && chmod +x /usr/sbin/winetricks - -ENV HOME=/home/container -ENV WINEPREFIX=/home/container/.wine -ENV WINEDLLOVERRIDES="mscoree,mshtml=" -ENV DISPLAY=:0 -ENV DISPLAY_WIDTH=1024 -ENV DISPLAY_HEIGHT=768 -ENV DISPLAY_DEPTH=16 -ENV AUTO_UPDATE=1 -ENV XVFB=1 - -COPY ./../entrypoint.sh /entrypoint.sh -CMD [ "/bin/bash", "/entrypoint.sh" ]