diff --git a/.editorconfig b/.editorconfig index 9a64098..91da0c6 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,19 +1,26 @@ -# editorconfig.org +# https://EditorConfig.org root = true [*] -indent_style = tab +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space indent_size = 4 tab_width = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true + +[*.yml] +indent_size = 2 + +[*.{sh,bash}] +indent_size = 4 + +[Dockerfile*] +indent_size = 4 + +[*.json] +indent_size = 2 [*.md] trim_trailing_whitespace = false - -[*.yml] -indent_style = space -indent_size = 2 -tab_width = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fcadb2c --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text eol=lf diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index def871c..71e2ef4 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,8 +4,8 @@ ### All Submissions: -* [ ] Have you ensured there aren't other open [Pull Requests](../pulls) for the same update or change? -* [ ] Have you created a new branch for your changes and PR from that branch and not from your master branch? +- [ ] Have you ensured there aren't other open [Pull Requests](../pulls) for the same update or change? +- [ ] Have you created a new branch for your changes and PR from that branch and not from your master branch? diff --git a/.github/workflows/apps.yml b/.github/workflows/apps.yml index 2392c8c..69be773 100644 --- a/.github/workflows/apps.yml +++ b/.github/workflows/apps.yml @@ -2,7 +2,7 @@ name: build apps on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - apps/** jobs: push: - name: "yolks:apps_${{ matrix.app }}" + name: 'yolks:apps_${{ matrix.app }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index d0345e3..6be5dbf 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -2,7 +2,7 @@ name: build oses on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - oses/** jobs: push: - name: "yolks:${{ matrix.oses }}" + name: 'yolks:${{ matrix.oses }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 671aa72..2b72884 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -2,7 +2,7 @@ name: build bot on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - bot/** jobs: pushArm: - name: "yolks:bot_${{ matrix.tag }}" + name: 'yolks:bot_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/box64.yml b/.github/workflows/box64.yml index 05ba764..6ffa0e8 100644 --- a/.github/workflows/box64.yml +++ b/.github/workflows/box64.yml @@ -2,7 +2,7 @@ name: build box64 on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - box64/** jobs: push: - name: "yolks:${{ matrix.tag }}" + name: 'yolks:${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/bun.yml b/.github/workflows/bun.yml index 18f9fef..cdeb177 100644 --- a/.github/workflows/bun.yml +++ b/.github/workflows/bun.yml @@ -2,7 +2,7 @@ name: build bun on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - bun/** jobs: push: - name: "yolks:bun_${{ matrix.tag }}" + name: 'yolks:bun_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/cassandra.yml b/.github/workflows/cassandra.yml index b14a301..7aad6b9 100644 --- a/.github/workflows/cassandra.yml +++ b/.github/workflows/cassandra.yml @@ -2,7 +2,7 @@ name: build cassandra on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - cassandra/** jobs: push: - name: "yolks:cassandra_${{ matrix.tag }}" + name: 'yolks:cassandra_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 0780a27..b3e03e2 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -2,7 +2,7 @@ name: build dart on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - dart/** jobs: push: - name: "yolks:dart_${{ matrix.tag }}" + name: 'yolks:dart_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index ee11181..1c6c318 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -2,7 +2,7 @@ name: build dotnet on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - dotnet/** jobs: push: - name: "yolks:dotnet_${{ matrix.tag }}" + name: 'yolks:dotnet_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false @@ -23,8 +23,9 @@ jobs: - 7 - 8 steps: - - uses: actions/checkout@v4 - # Setup QEMU for ARM64 Build + - uses: + actions/checkout@v4 + # Setup QEMU for ARM64 Build - uses: docker/setup-qemu-action@v3 - uses: docker/setup-buildx-action@v3 with: diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 1bcf97a..4e37770 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -2,7 +2,7 @@ name: build elixir on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - elixir/** jobs: push: - name: "yolks:elixir_${{ matrix.tag }}" + name: 'yolks:elixir_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index 6de3c20..376361b 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -2,7 +2,7 @@ name: build erlang on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - erlang/** jobs: push: - name: "yolks:erlang_${{ matrix.tag }}" + name: 'yolks:erlang_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/games.yml b/.github/workflows/games.yml index d48d81f..830f784 100644 --- a/.github/workflows/games.yml +++ b/.github/workflows/games.yml @@ -2,7 +2,7 @@ name: build games on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - games/** jobs: pushAMD64: - name: "games_AMD64:${{ matrix.game }}" + name: 'games_AMD64:${{ matrix.game }}' runs-on: ubuntu-latest strategy: fail-fast: false @@ -43,7 +43,7 @@ jobs: tags: | ghcr.io/darksaid98/games:${{ matrix.game }} pushAll: - name: "games_All:${{ matrix.game }}" + name: 'games_All:${{ matrix.game }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1bd4221..5b60aab 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,7 +2,7 @@ name: build go on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - go/** jobs: push: - name: "yolks:go_${{ matrix.tag }}" + name: 'yolks:go_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/graalvm.yml b/.github/workflows/graalvm.yml index a97ee06..e54fa2b 100644 --- a/.github/workflows/graalvm.yml +++ b/.github/workflows/graalvm.yml @@ -2,7 +2,7 @@ name: build graalvm on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - graalvm/** jobs: push: - name: "yolks:graalvm_${{ matrix.tag }}" + name: 'yolks:graalvm_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/installers.yml b/.github/workflows/installers.yml index b8d1ce9..78cab85 100644 --- a/.github/workflows/installers.yml +++ b/.github/workflows/installers.yml @@ -2,7 +2,7 @@ name: build installers on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - installers/** jobs: push: - name: "installers:{{ matrix.tag }}" + name: 'installers:{{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 469cc68..134e2f3 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -2,7 +2,7 @@ name: build java on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,18 +10,18 @@ on: - java/** jobs: push: - name: "yolks:java_${{ matrix.tag }}" + name: 'yolks:java_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false matrix: tag: - 8 -# - 8j9 + # - 8j9 - 11 -# - 11j9 + # - 11j9 - 16 -# - 16j9 + # - 16j9 - 17 - 19 - 21 diff --git a/.github/workflows/mariadb.yml b/.github/workflows/mariadb.yml index f197bcb..9db63b7 100644 --- a/.github/workflows/mariadb.yml +++ b/.github/workflows/mariadb.yml @@ -3,7 +3,7 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -11,7 +11,7 @@ on: - mariadb/** jobs: push: - name: "yolks:mariadb_${{ matrix.tag }}" + name: 'yolks:mariadb_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/mongodb.yml b/.github/workflows/mongodb.yml index 54946fa..329631d 100644 --- a/.github/workflows/mongodb.yml +++ b/.github/workflows/mongodb.yml @@ -3,7 +3,7 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -11,7 +11,7 @@ on: - mongodb/** jobs: push: - name: "yolks:mongodb_${{ matrix.tag }}" + name: 'yolks:mongodb_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/mono.yml b/.github/workflows/mono.yml index d90758d..04e8a2b 100644 --- a/.github/workflows/mono.yml +++ b/.github/workflows/mono.yml @@ -2,7 +2,7 @@ name: build mono on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - mono/** jobs: push: - name: "yolks:mono_${{ matrix.tag }}" + name: 'yolks:mono_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index efb10e9..4b2a8b9 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -2,7 +2,7 @@ name: build nodejs on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - nodejs/** jobs: push: - name: "yolks:nodejs_${{ matrix.tag }}" + name: 'yolks:nodejs_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/postgres.yml b/.github/workflows/postgres.yml index 98d0d51..b03da1d 100644 --- a/.github/workflows/postgres.yml +++ b/.github/workflows/postgres.yml @@ -3,7 +3,7 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -11,7 +11,7 @@ on: - postgres/** jobs: push: - name: "yolks:postgres_${{ matrix.tag }}" + name: 'yolks:postgres_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index ee962a6..f25aa35 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -2,7 +2,7 @@ name: build python on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - python/** jobs: push: - name: "yolks:python_${{ matrix.tag }}" + name: 'yolks:python_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/redis.yml b/.github/workflows/redis.yml index d8f04b5..3f2f429 100644 --- a/.github/workflows/redis.yml +++ b/.github/workflows/redis.yml @@ -3,7 +3,7 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -11,7 +11,7 @@ on: - redis/** jobs: push: - name: "yolks:redis_${{ matrix.tag }}" + name: 'yolks:redis_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 01452ba..7d3abc7 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,7 +2,7 @@ name: build rust on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - rust/** jobs: push: - name: "yolks:rust_${{ matrix.tag }}" + name: 'yolks:rust_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/steamcmd.yml b/.github/workflows/steamcmd.yml index 1183d66..d1dbaae 100644 --- a/.github/workflows/steamcmd.yml +++ b/.github/workflows/steamcmd.yml @@ -2,7 +2,7 @@ name: build steamcmd on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - steamcmd/** jobs: push: - name: "steamcmd:${{ matrix.distro }}" + name: 'steamcmd:${{ matrix.distro }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/voice.yml b/.github/workflows/voice.yml index 037c326..26d78c2 100644 --- a/.github/workflows/voice.yml +++ b/.github/workflows/voice.yml @@ -2,7 +2,7 @@ name: build voice on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - voice/** jobs: pushx64: - name: "yolks:voice_${{ matrix.tag }}" + name: 'yolks:voice_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false @@ -34,10 +34,10 @@ jobs: platforms: linux/amd64 push: true tags: | - ghcr.io/darksaid98/yolks:voice_${{ matrix.tag }} + ghcr.io/darksaid98/yolks:voice_${{ matrix.tag }} pushx64_arm64: - name: "yolks:voice_${{ matrix.tag }}" + name: 'yolks:voice_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false @@ -50,7 +50,7 @@ jobs: - uses: docker/setup-qemu-action@v3 - uses: docker/setup-buildx-action@v3 with: - version: "v0.8.2" + version: 'v0.8.2' buildkitd-flags: --debug - uses: docker/login-action@v3 with: @@ -64,4 +64,4 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: | - ghcr.io/darksaid98/yolks:voice_${{ matrix.tag }} + ghcr.io/darksaid98/yolks:voice_${{ matrix.tag }} diff --git a/.github/workflows/wine.yml b/.github/workflows/wine.yml index 09627da..b5a9d07 100644 --- a/.github/workflows/wine.yml +++ b/.github/workflows/wine.yml @@ -2,7 +2,7 @@ name: build wine on: workflow_dispatch: schedule: - - cron: "0 0 * * 1" + - cron: '0 0 * * 1' push: branches: - master @@ -10,7 +10,7 @@ on: - wine/** jobs: push: - name: "yolks:wine_${{ matrix.tag }}" + name: 'yolks:wine_${{ matrix.tag }}' runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/README.md b/README.md index 4147f44..e5daafe 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,14 @@ periodically to ensure dependencies are always up-to-date. Images are hosted on `ghcr.io` and exist under the `games`, `installers`, and `yolks` spaces. The following logic 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. +- `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. All of these images are available for `linux/amd64` and `linux/arm64` versions, unless otherwise specified, to use these images on an arm system, no modification to them or the tag is needed, they should just work. @@ -28,295 +28,297 @@ is tagged correctly. ### [Oses](/oses) -* [alpine](/oses/alpine) - * `ghcr.io/darksaid98/yolks:alpine` -* [debian](/oses/debian) - * `ghcr.io/darksaid98/yolks:debian` -* [ubuntu](/oses/ubuntu) - * `ghcr.io/darksaid98/yolks:ubuntu` +- [alpine](/oses/alpine) + - `ghcr.io/darksaid98/yolks:alpine` +- [debian](/oses/debian) + - `ghcr.io/darksaid98/yolks:debian` +- [ubuntu](/oses/ubuntu) + - `ghcr.io/darksaid98/yolks:ubuntu` ### [Apps](/apps) -* [`uptimekuma`](/apps/uptimekuma) - * `ghcr.io/darksaid98/yolks:apps_uptimekuma` +- [`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` +- [`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` +- [`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` +- [`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` +- [`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` +- [`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` +- [`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` +- [`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` +- [`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` +- [`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` ### [Golang](/go) -* [`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` +- [`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` +- [`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` +- [`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` +- [`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` +- [`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` - +- [`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` +- [`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` +- [`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` +- [`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` +- ['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` + +- [`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` + +- [`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` +- [`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` +- [`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` diff --git a/dart/2.17/Dockerfile b/dart/2.17/Dockerfile index ef05342..a40a497 100644 --- a/dart/2.17/Dockerfile +++ b/dart/2.17/Dockerfile @@ -1,18 +1,18 @@ -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"] +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 index eda747a..e8955f6 100644 --- a/dart/2.18/Dockerfile +++ b/dart/2.18/Dockerfile @@ -1,18 +1,18 @@ -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"] +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 index c01b351..cb94aa0 100644 --- a/dart/2.19/Dockerfile +++ b/dart/2.19/Dockerfile @@ -1,18 +1,18 @@ -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"] +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/games/arma3/README.md b/games/arma3/README.md index 4eb2798..3e45d46 100644 --- a/games/arma3/README.md +++ b/games/arma3/README.md @@ -1,2 +1,3 @@ # Arma 3 + Docker container designed to run Bohemia Interactive's Arma 3 dedicated server. diff --git a/games/dayz/README.md b/games/dayz/README.md index f13724e..e13db6b 100644 --- a/games/dayz/README.md +++ b/games/dayz/README.md @@ -1,2 +1,3 @@ # DayZ + Docker container designed to run Bohemia Interactive's DayZ dedicated server. diff --git a/games/rust/Dockerfile b/games/rust/Dockerfile index 540f444..1f7e004 100644 --- a/games/rust/Dockerfile +++ b/games/rust/Dockerfile @@ -1,21 +1,21 @@ -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 - +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/wrapper.js b/games/rust/wrapper.js index f4f6cc5..08b2bbe 100755 --- a/games/rust/wrapper.js +++ b/games/rust/wrapper.js @@ -1,140 +1,152 @@ #!/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 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 (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(); + 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; + 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; - } + seenPercentage[percentage] = true; + } - console.log(str); + console.log(str); } -var exec = require("child_process").exec; -console.log("Starting Rust..."); +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; + exited = true; - if (code) { - console.log("Main game process exited with code " + code); - // process.exit(code); - } + 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.'); - } + 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.setEncoding('utf8'); process.stdin.on('data', initialListener); process.on('exit', function (code) { - if (exited) return; + if (exited) return; - console.log("Received request to stop the process, stopping the game..."); - gameProcess.kill('SIGTERM'); + 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); - } + 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); + 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; + 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')); + // 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)); - }); - }); + 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('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('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."); + ws.on('close', function () { + if (!waiting) { + console.log('Connection to server closed.'); - exited = true; - process.exit(); - } - }); -} -poll(); \ No newline at end of file + exited = true; + process.exit(); + } + }); +}; +poll(); diff --git a/games/samp/Dockerfile b/games/samp/Dockerfile index ba6198a..33f6dce 100644 --- a/games/samp/Dockerfile +++ b/games/samp/Dockerfile @@ -1,33 +1,33 @@ -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"] +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/oses/alpine/entrypoint.sh b/oses/alpine/entrypoint.sh index 2b81022..4047f86 100644 --- a/oses/alpine/entrypoint.sh +++ b/oses/alpine/entrypoint.sh @@ -37,8 +37,7 @@ cd /home/container || exit 1 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" +printf "\033[1m\033[33mcontainer~ \033[0m" echo "$PARSED" # shellcheck disable=SC2086 eval "$PARSED" - diff --git a/steamcmd/ubuntu/Dockerfile b/steamcmd/ubuntu/Dockerfile index 75137dc..73827dc 100644 --- a/steamcmd/ubuntu/Dockerfile +++ b/steamcmd/ubuntu/Dockerfile @@ -11,7 +11,7 @@ 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 + && 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 @@ -34,4 +34,4 @@ 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 +CMD ["/entrypoint.sh"]