1 Commits

Author SHA1 Message Date
Quinten
ea76034350 steamcmd_debian: add libatomic1 libxi6 for the truck-sim eggs 2024-05-15 10:35:48 +02:00
138 changed files with 857 additions and 2375 deletions

1
.gitattributes vendored
View File

@@ -1 +0,0 @@
* text eol=lf

View File

@@ -11,5 +11,5 @@
### New Image Submissions: ### New Image Submissions:
1. [ ] Have you added your image to the [Github workflows](https://github.com/pelican-eggs/yolks/tree/master/.github/workflows)? 1. [ ] Have you added your image to the [Github workflows](https://github.com/parkervcp/yolks/tree/master/.github/workflows)?
2. [ ] Have you updated the README list to contain your new image? 2. [ ] Have you updated the README list to contain your new image?

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- apps/** - apps/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:apps_${{ matrix.app }}" name: "yolks:apps_${{ matrix.app }}"
@@ -29,25 +26,18 @@ jobs:
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./apps/${{ matrix.app }} context: ./apps/${{ matrix.app }}
file: ./apps/${{ matrix.app }}/Dockerfile file: ./apps/${{ matrix.app }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/apps:${{ matrix.app }} ghcr.io/pelican-eggs/apps:${{ matrix.app }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/apps:{0}', matrix.app) || '' }} ghcr.io/parkervcp/apps:${{ matrix.app }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- oses/** - oses/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:${{ matrix.oses }}" name: "yolks:${{ matrix.oses }}"
@@ -28,23 +25,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./oses/${{ matrix.oses }} context: ./oses/${{ matrix.oses }}
file: ./oses/${{ matrix.oses }}/Dockerfile file: ./oses/${{ matrix.oses }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:${{ matrix.oses }} ghcr.io/pelican-eggs/yolks:${{ matrix.oses }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:{0}', matrix.oses) || '' }} ghcr.io/parkervcp/yolks:${{ matrix.oses }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- bot/** - bot/**
permissions:
packages: write
jobs: jobs:
pushArm: pushArm:
name: "yolks:bot_${{ matrix.tag }}" name: "yolks:bot_${{ matrix.tag }}"
@@ -39,16 +36,12 @@ jobs:
key: ${{ runner.os }}-buildx-${{ github.sha }} key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: | restore-keys: |
${{ runner.os }}-buildx- ${{ runner.os }}-buildx-
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./bot/${{ matrix.tag }} context: ./bot/${{ matrix.tag }}
file: ./bot/${{ matrix.tag }}/Dockerfile file: ./bot/${{ matrix.tag }}/Dockerfile
@@ -57,8 +50,8 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new cache-to: type=local,dest=/tmp/.buildx-cache-new
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:bot_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:bot_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:bot_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:bot_${{ matrix.tag }}
- name: Move cache - name: Move cache
run: | run: |
rm -rf /tmp/.buildx-cache rm -rf /tmp/.buildx-cache
@@ -81,15 +74,13 @@ jobs:
# - uses: docker/login-action@v1 # - uses: docker/login-action@v1
# with: # with:
# registry: ghcr.io # registry: ghcr.io
# username: b3ni15 # username: ${{ github.repository_owner }}
# password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} # password: ${{ secrets.REGISTRY_TOKEN }}
# - uses: docker/build-push-action@v6 # - uses: docker/build-push-action@v5
# with: # with:
# context: ./bot/${{ matrix.tag }} # context: ./bot/${{ matrix.tag }}
# file: ./bot/${{ matrix.tag }}/Dockerfile # file: ./bot/${{ matrix.tag }}/Dockerfile
# platforms: linux/amd64 # platforms: linux/amd64
# push: true # push: true
# tags: | # tags: |
# ${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:bot_{0}', matrix.tag) || '' }} # ghcr.io/parkervcp/yolks:bot_${{ matrix.tag }}

View File

@@ -1,48 +1,39 @@
name: build box64 name: build box64
on: on:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
- cron: "0 0 * * 1" - cron: "0 0 * * 1"
push: push:
branches: branches:
- master - master
paths: paths:
- box64/** - box64/**
permissions: jobs:
packages: write push:
name: "yolks:${{ matrix.tag }}"
jobs: runs-on: ubuntu-latest
push: strategy:
name: "yolks:${{ matrix.tag }}" fail-fast: false
runs-on: ubuntu-latest matrix:
strategy: tag:
fail-fast: false - box64
matrix: steps:
tag: - uses: actions/checkout@v4
- box64 - uses: docker/setup-qemu-action@v3
steps: - uses: docker/setup-buildx-action@v3
- uses: actions/checkout@v4 with:
- uses: docker/setup-qemu-action@v3 buildkitd-flags: --debug
- uses: docker/setup-buildx-action@v3 - uses: docker/login-action@v3
with: with:
buildkitd-flags: --debug registry: ghcr.io
- id: lower-repo username: ${{ github.repository_owner }}
name: Repository to lowercase password: ${{ secrets.REGISTRY_TOKEN }}
run: | - uses: docker/build-push-action@v5
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT with:
- uses: docker/login-action@v3 context: ./box64
with: file: ./${{ matrix.tag }}/Dockerfile
registry: ghcr.io platforms: linux/arm64
username: b3ni15 push: true
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} tags: |
- uses: docker/build-push-action@v6 ghcr.io/pelican-eggs/yolks:${{ matrix.tag }}
with: ghcr.io/parkervcp/yolks:${{ matrix.tag }}
context: ./box64
file: ./${{ matrix.tag }}/Dockerfile
platforms: linux/arm64
push: true
tags: |
ghcr.io/b3ni15/yolks:${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:{0}', matrix.tag) || '' }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- bun/** - bun/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:bun_${{ matrix.tag }}" name: "yolks:bun_${{ matrix.tag }}"
@@ -27,23 +24,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./bun context: ./bun
file: ./bun/${{ matrix.tag }}/Dockerfile file: ./bun/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:bun_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:bun_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:bun_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:bun_${{ matrix.tag }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- cassandra/** - cassandra/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:cassandra_${{ matrix.tag }}" name: "yolks:cassandra_${{ matrix.tag }}"
@@ -26,23 +23,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./cassandra context: ./cassandra
file: ./cassandra/${{ matrix.tag }}/Dockerfile file: ./cassandra/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64 platforms: linux/amd64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:cassandra_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:cassandra_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:cassandra_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:cassandra_${{ matrix.tag }}

View File

@@ -1,53 +1,44 @@
name: build dart name: build dart
on: on:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
- cron: "0 0 * * 1" - cron: "0 0 * * 1"
push: push:
branches: branches:
- master - master
paths: paths:
- dart/** - dart/**
permissions: jobs:
packages: write push:
name: "yolks:dart_${{ matrix.tag }}"
jobs: runs-on: ubuntu-latest
push: strategy:
name: "yolks:dart_${{ matrix.tag }}" fail-fast: false
runs-on: ubuntu-latest matrix:
strategy: tag:
fail-fast: false - '2.17'
matrix: - '2.18'
tag: - '2.19'
- '2.17' - '3.3'
- '2.18' - 'stable'
- '2.19' steps:
- '3.3' - uses: actions/checkout@v4
- 'stable' # Setup QEMU for ARM64 Build
steps: - uses: docker/setup-qemu-action@v3
- uses: actions/checkout@v4 - uses: docker/setup-buildx-action@v3
# Setup QEMU for ARM64 Build with:
- uses: docker/setup-qemu-action@v3 buildkitd-flags: --debug
- uses: docker/setup-buildx-action@v3 - uses: docker/login-action@v3
with: with:
buildkitd-flags: --debug registry: ghcr.io
- id: lower-repo username: ${{ github.repository_owner }}
name: Repository to lowercase password: ${{ secrets.REGISTRY_TOKEN }}
run: | - uses: docker/build-push-action@v5
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT with:
- uses: docker/login-action@v3 context: ./dart
with: file: ./dart/${{ matrix.tag }}/Dockerfile
registry: ghcr.io platforms: linux/amd64,linux/arm64
username: b3ni15 push: true
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} tags: |
- uses: docker/build-push-action@v6 ghcr.io/pelican-eggs/yolks:dart_${{ matrix.tag }}
with: ghcr.io/parkervcp/yolks:dart_${{ matrix.tag }}
context: ./dart
file: ./dart/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/b3ni15/yolks:dart_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:dart_{0}', matrix.tag) || '' }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- dotnet/** - dotnet/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:dotnet_${{ matrix.tag }}" name: "yolks:dotnet_${{ matrix.tag }}"
@@ -25,7 +22,6 @@ jobs:
- 6 - 6
- 7 - 7
- 8 - 8
- 9
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
# Setup QEMU for ARM64 Build # Setup QEMU for ARM64 Build
@@ -33,23 +29,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./dotnet context: ./dotnet
file: ./dotnet/${{ matrix.tag }}/Dockerfile file: ./dotnet/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:dotnet_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:dotnet_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:dotnet_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:dotnet_${{ matrix.tag }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- elixir/** - elixir/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:elixir_${{ matrix.tag }}" name: "yolks:elixir_${{ matrix.tag }}"
@@ -30,23 +27,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./elixir context: ./elixir
file: ./elixir/${{ matrix.tag }}/Dockerfile file: ./elixir/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:elixir_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:elixir_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:elixir_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:elixir_${{ matrix.tag }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- erlang/** - erlang/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:erlang_${{ matrix.tag }}" name: "yolks:erlang_${{ matrix.tag }}"
@@ -29,23 +26,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./erlang context: ./erlang
file: ./erlang/${{ matrix.tag }}/Dockerfile file: ./erlang/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:erlang_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:erlang_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:erlang_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:erlang_${{ matrix.tag }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- games/** - games/**
permissions:
packages: write
jobs: jobs:
pushAMD64: pushAMD64:
name: "games_AMD64:${{ matrix.game }}" name: "games_AMD64:${{ matrix.game }}"
@@ -23,7 +20,6 @@ jobs:
- arma3 - arma3
- dayz - dayz
- mohaa - mohaa
- rust
- samp - samp
- source - source
- valheim - valheim
@@ -34,24 +30,20 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./games/${{ matrix.game }} context: ./games/${{ matrix.game }}
file: ./games/${{ matrix.game }}/Dockerfile file: ./games/${{ matrix.game }}/Dockerfile
platforms: linux/amd64 platforms: linux/amd64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/games:${{ matrix.game }} ghcr.io/pelican-eggs/games:${{ matrix.game }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/games:{0}', matrix.game) || '' }} ghcr.io/parkervcp/games:${{ matrix.game }}
pushAll: pushAll:
name: "games_All:${{ matrix.game }}" name: "games_All:${{ matrix.game }}"
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -70,23 +62,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./games/${{ matrix.game }} context: ./games/${{ matrix.game }}
file: ./games/${{ matrix.game }}/Dockerfile file: ./games/${{ matrix.game }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/games:${{ matrix.game }} ghcr.io/pelican-eggs/games:${{ matrix.game }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/games:{0}', matrix.game) || '' }} ghcr.io/parkervcp/games:${{ matrix.game }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- go/** - go/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:go_${{ matrix.tag }}" name: "yolks:go_${{ matrix.tag }}"
@@ -28,29 +25,22 @@ jobs:
- '1.20' - '1.20'
- '1.21' - '1.21'
- '1.22' - '1.22'
- '1.23'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./go context: ./go
file: ./go/${{ matrix.tag }}/Dockerfile file: ./go/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64 platforms: linux/amd64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:go_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:go_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:go_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:go_${{ matrix.tag }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- installers/** - installers/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "installers:{{ matrix.tag }}" name: "installers:{{ matrix.tag }}"
@@ -28,23 +25,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./installers context: ./installers
file: ./installers/${{ matrix.tag }}/Dockerfile file: ./installers/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/installers:${{ matrix.tag }} ghcr.io/pelican-eggs/installers:${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/installers:{0}', matrix.tag) || '' }} ghcr.io/parkervcp/installers:${{ matrix.tag }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- java/** - java/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:java_${{ matrix.tag }}" name: "yolks:java_${{ matrix.tag }}"
@@ -28,30 +25,23 @@ jobs:
- 17 - 17
- 19 - 19
- 21 - 21
- 22
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3 - uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./java context: ./java
file: ./java/${{ matrix.tag }}/Dockerfile file: ./java/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:java_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:java_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:java_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:java_${{ matrix.tag }}

View File

@@ -9,9 +9,6 @@ on:
- master - master
paths: paths:
- mariadb/** - mariadb/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:mariadb_${{ matrix.tag }}" name: "yolks:mariadb_${{ matrix.tag }}"
@@ -28,31 +25,23 @@ jobs:
- '11.2' - '11.2'
- '11.3' - '11.3'
- '11.4' - '11.4'
- '11.5'
- '11.6'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3 - uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./mariadb context: ./mariadb
file: ./mariadb/${{ matrix.tag }}/Dockerfile file: ./mariadb/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:mariadb_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:mariadb_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:mariadb_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:mariadb_${{ matrix.tag }}

View File

@@ -9,9 +9,6 @@ on:
- master - master
paths: paths:
- mongodb/** - mongodb/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:mongodb_${{ matrix.tag }}" name: "yolks:mongodb_${{ matrix.tag }}"
@@ -20,33 +17,27 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
tag: tag:
- 4
- 5 - 5
- 6 - 6
- 7 - 7
- 8
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3 - uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./mongodb context: ./mongodb
file: ./mongodb/${{ matrix.tag }}/Dockerfile file: ./mongodb/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:mongodb_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:mongodb_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:mongodb_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:mongodb_${{ matrix.tag }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- mono/** - mono/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:mono_${{ matrix.tag }}" name: "yolks:mono_${{ matrix.tag }}"
@@ -25,23 +22,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./mono context: ./mono
file: ./mono/${{ matrix.tag }}/Dockerfile file: ./mono/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:mono_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:mono_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:mono_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:mono_${{ matrix.tag }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- nodejs/** - nodejs/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:nodejs_${{ matrix.tag }}" name: "yolks:nodejs_${{ matrix.tag }}"
@@ -27,9 +24,6 @@ jobs:
- 19 - 19
- 20 - 20
- 21 - 21
- 22
- 23
- 24
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
# Setup QEMU for ARM64 Build # Setup QEMU for ARM64 Build
@@ -37,23 +31,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./nodejs context: ./nodejs
file: ./nodejs/${{ matrix.tag }}/Dockerfile file: ./nodejs/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:nodejs_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:nodejs_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:nodejs_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:nodejs_${{ matrix.tag }}

View File

@@ -9,9 +9,6 @@ on:
- master - master
paths: paths:
- postgres/** - postgres/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:postgres_${{ matrix.tag }}" name: "yolks:postgres_${{ matrix.tag }}"
@@ -33,23 +30,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./postgres context: ./postgres
file: ./postgres/${{ matrix.tag }}/Dockerfile file: ./postgres/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:postgres_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:postgres_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:postgres_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:postgres_${{ matrix.tag }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- python/** - python/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:python_${{ matrix.tag }}" name: "yolks:python_${{ matrix.tag }}"
@@ -26,7 +23,6 @@ jobs:
- '3.10' - '3.10'
- '3.11' - '3.11'
- '3.12' - '3.12'
- '3.13'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
# Setup QEMU for ARM64 Build # Setup QEMU for ARM64 Build
@@ -34,23 +30,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./python context: ./python
file: ./python/${{ matrix.tag }}/Dockerfile file: ./python/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:python_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:python_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:python_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:python_${{ matrix.tag }}

View File

@@ -9,9 +9,6 @@ on:
- master - master
paths: paths:
- redis/** - redis/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:redis_${{ matrix.tag }}" name: "yolks:redis_${{ matrix.tag }}"
@@ -23,30 +20,23 @@ jobs:
- 5 - 5
- 6 - 6
- 7 - 7
- 8
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3 - uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./redis context: ./redis
file: ./redis/${{ matrix.tag }}/Dockerfile file: ./redis/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:redis_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:redis_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:redis_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:redis_${{ matrix.tag }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- rust/** - rust/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:rust_${{ matrix.tag }}" name: "yolks:rust_${{ matrix.tag }}"
@@ -29,23 +26,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./rust context: ./rust
file: ./rust/${{ matrix.tag }}/Dockerfile file: ./rust/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:rust_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:rust_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:rust_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:rust_${{ matrix.tag }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- steamcmd/** - steamcmd/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "steamcmd:${{ matrix.distro }}" name: "steamcmd:${{ matrix.distro }}"
@@ -30,23 +27,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./steamcmd context: ./steamcmd
file: ./steamcmd/${{ matrix.distro }}/Dockerfile file: ./steamcmd/${{ matrix.distro }}/Dockerfile
platforms: linux/amd64 platforms: linux/amd64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/steamcmd:${{ matrix.distro }} ghcr.io/pelican-eggs/steamcmd:${{ matrix.distro }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/steamcmd:{0}', matrix.distro) || '' }} ghcr.io/parkervcp/steamcmd:${{ matrix.distro }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- voice/** - voice/**
permissions:
packages: write
jobs: jobs:
pushx64: pushx64:
name: "yolks:voice_${{ matrix.tag }}" name: "yolks:voice_${{ matrix.tag }}"
@@ -25,24 +22,20 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./voice/${{ matrix.tag }} context: ./voice/${{ matrix.tag }}
file: ./voice/${{ matrix.tag }}/Dockerfile file: ./voice/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64 platforms: linux/amd64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:voice_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:voice_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:voice_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:voice_${{ matrix.tag }}
pushx64_arm64: pushx64_arm64:
@@ -61,23 +54,17 @@ jobs:
with: with:
version: "v0.8.2" version: "v0.8.2"
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./voice/${{ matrix.tag }} context: ./voice/${{ matrix.tag }}
file: ./voice/${{ matrix.tag }}/Dockerfile file: ./voice/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:voice_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:voice_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:voice_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:voice_${{ matrix.tag }}

View File

@@ -8,9 +8,6 @@ on:
- master - master
paths: paths:
- wine/** - wine/**
permissions:
packages: write
jobs: jobs:
push: push:
name: "yolks:wine_${{ matrix.tag }}" name: "yolks:wine_${{ matrix.tag }}"
@@ -19,10 +16,6 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
tag: tag:
- "7"
- "8"
- "9"
- "10"
- latest - latest
- devel - devel
- staging - staging
@@ -31,23 +24,17 @@ jobs:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
with: with:
buildkitd-flags: --debug buildkitd-flags: --debug
- id: lower-repo
name: Repository to lowercase
run: |
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: b3ni15 username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v5
with: with:
context: ./wine context: ./wine
file: ./wine/${{ matrix.tag }}/Dockerfile file: ./wine/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64 platforms: linux/amd64
push: true push: true
tags: | tags: |
ghcr.io/b3ni15/yolks:wine_${{ matrix.tag }} ghcr.io/pelican-eggs/yolks:wine_${{ matrix.tag }}
${{ github.repository_owner == 'pelican-eggs' && format('ghcr.io/b3ni15/yolks:wine_{0}', matrix.tag) || '' }} ghcr.io/parkervcp/yolks:wine_${{ matrix.tag }}

251
README.md
View File

@@ -29,317 +29,290 @@ is tagged correctly.
### [Oses](/oses) ### [Oses](/oses)
* [alpine](/oses/alpine) * [alpine](/oses/alpine)
* `ghcr.io/b3ni15/yolks:alpine` * `ghcr.io/parkervcp/yolks:alpine`
* [debian](/oses/debian) * [debian](/oses/debian)
* `ghcr.io/b3ni15/yolks:debian` * `ghcr.io/parkervcp/yolks:debian`
* [ubuntu](/oses/ubuntu) * [ubuntu](/oses/ubuntu)
* `ghcr.io/b3ni15/yolks:ubuntu` * `ghcr.io/parkervcp/yolks:ubuntu`
### [Apps](/apps) ### [Apps](/apps)
* [`uptimekuma`](/apps/uptimekuma) * [`uptimekuma`](/apps/uptimekuma)
* `ghcr.io/b3ni15/yolks:apps_uptimekuma` * `ghcr.io/parkervcp/yolks:apps_uptimekuma`
### [Bot](/bot) ### [Bot](/bot)
* [`bastion`](/bot/bastion) * [`bastion`](/bot/bastion)
* `ghcr.io/b3ni15/yolks:bot_bastion` * `ghcr.io/parkervcp/yolks:bot_bastion`
* [`parkertron`](/bot/parkertron) * [`parkertron`](/bot/parkertron)
* `ghcr.io/b3ni15/yolks:bot_parkertron` * `ghcr.io/parkervcp/yolks:bot_parkertron`
* [`redbot`](/bot/red) * [`redbot`](/bot/red)
* `ghcr.io/b3ni15/yolks:bot_red` * `ghcr.io/parkervcp/yolks:bot_red`
* [`sinusbot`](/bot/sinusbot) * [`sinusbot`](/bot/sinusbot)
* `ghcr.io/b3ni15/yolks:bot_sinusbot` * `ghcr.io/parkervcp/yolks:bot_sinusbot`
### [Box64](/box64) ### [Box64](/box64)
* [`Box64`](/box64) * [`Box64`](/box64)
* `ghcr.io/b3ni15/yolks:box64` * `ghcr.io/parkervcp/yolks:box64`
### [Bun](/bun) ### [Bun](/bun)
* [`Bun Canary`](/bun/canary) * [`Bun Canary`](/bun/canary)
* `ghcr.io/b3ni15/yolks:bun_canary` * `ghcr.io/parkervcp/yolks:bun_canary`
* [`Bun Latest`](/bun/latest) * [`Bun Latest`](/bun/latest)
* `ghcr.io/b3ni15/yolks:bun_latest` * `ghcr.io/parkervcp/yolks:bun_latest`
### [Cassandra](/cassandra) ### [Cassandra](/cassandra)
* [`cassandra_java8_python27`](/cassandra/cassandra_java8_python2) * [`cassandra_java8_python27`](/cassandra/cassandra_java8_python2)
* `ghcr.io/b3ni15/yolks:cassandra_java11_python2` * `ghcr.io/parkervcp/yolks:cassandra_java11_python2`
* [`cassandra_java11_python3`](/cassandra/cassandra_java11_python3) * [`cassandra_java11_python3`](/cassandra/cassandra_java11_python3)
* `ghcr.io/b3ni15/yolks:cassandra_java11_python3` * `ghcr.io/parkervcp/yolks:cassandra_java11_python3`
### [Dart](/dart) ### [Dart](/dart)
* [`dart2.17`](/dart/2.17) * [`dart2.17`](/dart/2.17)
* `ghcr.io/b3ni15/yolks:dart_2.17` * `ghcr.io/parkervcp/yolks:dart_2.17`
* [`dart2.18`](/dart/2.18) * [`dart2.18`](/dart/2.18)
* `ghcr.io/b3ni15/yolks:dart_2.18` * `ghcr.io/parkervcp/yolks:dart_2.18`
* [`dart2.19`](/dart/2.19) * [`dart2.19`](/dart/2.19)
* `ghcr.io/b3ni15/yolks:dart_2.19` * `ghcr.io/parkervcp/yolks:dart_2.19`
* [`dart3.3`](/dart/3.3) * [`dart3.3`](/dart/3.3)
* `ghcr.io/b3ni15/yolks:dart_3.3` * `ghcr.io/parkervcp/yolks:dart_3.3`
* [`dart stable`](/dart/stable) * [`dart stable`](/dart/stable)
* `ghcr.io/b3ni15/yolks:dart_stable` * `ghcr.io/parkervcp/yolks:dart_stable`
### [dotNet](/dotnet) ### [dotNet](/dotnet)
* [`dotnet2.1`](/dotnet/2.1) * [`dotnet2.1`](/dotnet/2.1)
* `ghcr.io/b3ni15/yolks:dotnet_2.1` * `ghcr.io/parkervcp/yolks:dotnet_2.1`
* [`dotnet3.1`](/dotnet/3.1) * [`dotnet3.1`](/dotnet/3.1)
* `ghcr.io/b3ni15/yolks:dotnet_3.1` * `ghcr.io/parkervcp/yolks:dotnet_3.1`
* [`dotnet5.0`](/dotnet/5) * [`dotnet5.0`](/dotnet/5)
* `ghcr.io/b3ni15/yolks:dotnet_5` * `ghcr.io/parkervcp/yolks:dotnet_5`
* [`dotnet6.0`](/dotnet/6) * [`dotnet6.0`](/dotnet/6)
* `ghcr.io/b3ni15/yolks:dotnet_6` * `ghcr.io/parkervcp/yolks:dotnet_6`
* [`dotnet7.0`](/dotnet/7) * [`dotnet7.0`](/dotnet/7)
* `ghcr.io/b3ni15/yolks:dotnet_7` * `ghcr.io/parkervcp/yolks:dotnet_7`
* [`dotnet8.0`](/dotnet/8) * [`dotnet8.0`](/dotnet/8)
* `ghcr.io/b3ni15/yolks:dotnet_8` * `ghcr.io/parkervcp/yolks:dotnet_8`
* [`dotnet9.0`](/dotnet/9)
* `ghcr.io/b3ni15/yolks:dotnet_9`
### [Elixir](/elixir) ### [Elixir](/elixir)
* [`elixir 1.12`](/elixir/1.12) * [`elixir 1.12`](/elixir/1.12)
* `ghcr.io/b3ni15/yolks:elixir_1.12` * `ghcr.io/parkervcp/yolks:elixir_1.12`
* [`elixir 1.13`](/elixir/1.13) * [`elixir 1.13`](/elixir/1.13)
* `ghcr.io/b3ni15/yolks:elixir_1.13` * `ghcr.io/parkervcp/yolks:elixir_1.13`
* [`elixir 1.14`](/elixir/1.14) * [`elixir 1.14`](/elixir/1.14)
* `ghcr.io/b3ni15/yolks:elixir_1.14` * `ghcr.io/parkervcp/yolks:elixir_1.14`
* [`elixir 1.15`](/elixir/1.12) * [`elixir 1.15`](/elixir/1.12)
* `ghcr.io/b3ni15/yolks:elixir_1.15` * `ghcr.io/parkervcp/yolks:elixir_1.15`
* [`elixir latest`](/elixir/latest) * [`elixir latest`](/elixir/latest)
* `ghcr.io/b3ni15/yolks:elixir_latest` * `ghcr.io/parkervcp/yolks:elixir_latest`
### [Erlang](/erlang) ### [Erlang](/erlang)
* [`erlang22`](/erlang/22) * [`erlang22`](/erlang/22)
* `ghcr.io/b3ni15/yolks:erlang_22` * `ghcr.io/parkervcp/yolks:erlang_22`
* [`erlang23`](/erlang/23) * [`erlang23`](/erlang/23)
* `ghcr.io/b3ni15/yolks:erlang_23` * `ghcr.io/parkervcp/yolks:erlang_23`
* [`erlang24`](/erlang/24) * [`erlang24`](/erlang/24)
* `ghcr.io/b3ni15/yolks:erlang_24` * `ghcr.io/parkervcp/yolks:erlang_24`
### [Games](/games) ### [Games](/games)
* [`altv`](/games/altv) * [`altv`](/games/altv)
* `ghcr.io/b3ni15/games:altv` * `ghcr.io/parkervcp/games:altv`
* [`arma3`](/games/arma3) * [`arma3`](/games/arma3)
* `ghcr.io/b3ni15/games:arma3` * `ghcr.io/parkervcp/games:arma3`
* [`dayz`](/games/dayz) * [`dayz`](/games/dayz)
* `ghcr.io/b3ni15/games:dayz` * `ghcr.io/parkervcp/games:dayz`
* [`minetest`](/games/minetest) * [`minetest`](/games/minetest)
* `ghcr.io/b3ni15/games:minetest` * `ghcr.io/parkervcp/games:minetest`
* [`mohaa`](games/mohaa) * [`mohaa`](games/mohaa)
* `ghcr.io/b3ni15/games:mohaa` * `ghcr.io/pterodactyl/games:mohaa`
* [`Multi Theft Auto: San Andreas`](games/mta) * [`Multi Theft Auto: San Andreas`](games/mta)
* `ghcr.io/b3ni15/games:mta` * `ghcr.io/pterodactyl/games:mta`
* [`Rust (dedicated server)`](games/rust)
* `ghcr.io/b3ni15/games:rust`
* [`samp`](/games/samp) * [`samp`](/games/samp)
* `ghcr.io/b3ni15/games:samp` * `ghcr.io/parkervcp/games:samp`
* [`source`](/games/source) * [`source`](/games/source)
* `ghcr.io/b3ni15/games:source` * `ghcr.io/parkervcp/games:source`
* [`thebattleforwesnoth`](/games/thebattleforwesnoth) * [`thebattleforwesnoth`](/games/thebattleforwesnoth)
* `ghcr.io/b3ni15/games:thebattleforwesnoth` * `ghcr.io/parkervcp/games:thebattleforwesnoth`
* [`valheim`](/games/valheim) * [`valheim`](/games/valheim)
* `ghcr.io/b3ni15/games:valheim` * `ghcr.io/parkervcp/games:valheim`
### [Golang](/go) ### [Golang](/go)
* [`go1.14`](/go/1.14) * [`go1.14`](/go/1.14)
* `ghcr.io/b3ni15/yolks:go_1.14` * `ghcr.io/parkervcp/yolks:go_1.14`
* [`go1.15`](/go/1.15) * [`go1.15`](/go/1.15)
* `ghcr.io/b3ni15/yolks:go_1.15` * `ghcr.io/parkervcp/yolks:go_1.15`
* [`go1.16`](/go/1.16) * [`go1.16`](/go/1.16)
* `ghcr.io/b3ni15/yolks:go_1.16` * `ghcr.io/parkervcp/yolks:go_1.16`
* [`go1.17`](/go/1.17) * [`go1.17`](/go/1.17)
* `ghcr.io/b3ni15/yolks:go_1.17` * `ghcr.io/parkervcp/yolks:go_1.17`
* [`go1.18`](/go/1.18) * [`go1.18`](/go/1.18)
* `ghcr.io/b3ni15/yolks:go_1.18` * `ghcr.io/parkervcp/yolks:go_1.18`
* [`go1.19`](/go/1.19) * [`go1.19`](/go/1.19)
* `ghcr.io/b3ni15/yolks:go_1.19` * `ghcr.io/parkervcp/yolks:go_1.19`
* [`go1.20`](/go/1.20) * [`go1.20`](/go/1.20)
* `ghcr.io/b3ni15/yolks:go_1.20` * `ghcr.io/parkervcp/yolks:go_1.20`
* [`go1.21`](/go/1.21) * [`go1.21`](/go/1.21)
* `ghcr.io/b3ni15/yolks:go_1.21` * `ghcr.io/parkervcp/yolks:go_1.21`
* [`go1.22`](/go/1.22) * [`go1.22`](/go/1.22)
* `ghcr.io/b3ni15/yolks:go_1.22` * `ghcr.io/parkervcp/yolks:go_1.22`
* [`go1.23`](/go/1.23)
* `ghcr.io/b3ni15/yolks:go_1.23`
### [Java](/java) ### [Java](/java)
* [`java8`](/java/8) * [`java8`](/java/8)
* `ghcr.io/b3ni15/yolks:java_8` * `ghcr.io/parkervcp/yolks:java_8`
* [`java11`](/java/11) * [`java11`](/java/11)
* `ghcr.io/b3ni15/yolks:java_11` * `ghcr.io/parkervcp/yolks:java_11`
* [`java16`](/java/16) * [`java16`](/java/16)
* `ghcr.io/b3ni15/yolks:java_16` * `ghcr.io/parkervcp/yolks:java_16`
* [`java17`](/java/17) * [`java17`](/java/17)
* `ghcr.io/b3ni15/yolks:java_17` * `ghcr.io/parkervcp/yolks:java_17`
* [`java19`](/java/19) * [`java19`](/java/19)
* `ghcr.io/b3ni15/yolks:java_19` * `ghcr.io/parkervcp/yolks:java_19`
* [`java21`](/java/21) * [`java21`](/java/21)
* `ghcr.io/b3ni15/yolks:java_21` * `ghcr.io/parkervcp/yolks:java_21`
* [`java22`](/java/22)
* `ghcr.io/b3ni15/yolks:java_22`
### [MariaDB](/mariadb) ### [MariaDB](/mariadb)
* [`MariaDB 10.3`](/mariadb/10.3) * [`MariaDB 10.3`](/mariadb/10.3)
* `ghcr.io/b3ni15/yolks:mariadb_10.3` * `ghcr.io/parkervcp/yolks:mariadb_10.3`
* [`MariaDB 10.4`](/mariadb/10.4) * [`MariaDB 10.4`](/mariadb/10.4)
* `ghcr.io/b3ni15/yolks:mariadb_10.4` * `ghcr.io/parkervcp/yolks:mariadb_10.4`
* [`MariaDB 10.5`](/mariadb/10.5) * [`MariaDB 10.5`](/mariadb/10.5)
* `ghcr.io/b3ni15/yolks:mariadb_10.5` * `ghcr.io/parkervcp/yolks:mariadb_10.5`
* [`MariaDB 10.6`](/mariadb/10.6) * [`MariaDB 10.6`](/mariadb/10.6)
* `ghcr.io/b3ni15/yolks:mariadb_10.6` * `ghcr.io/parkervcp/yolks:mariadb_10.6`
* [`MariaDB 10.7`](/mariadb/10.7) * [`MariaDB 10.7`](/mariadb/10.7)
* `ghcr.io/b3ni15/yolks:mariadb_10.7` * `ghcr.io/parkervcp/yolks:mariadb_10.7`
* [`MariaDB 11.2`](/mariadb/11.2) * [`MariaDB 11.2`](/mariadb/11.2)
* `ghcr.io/b3ni15/yolks:mariadb_11.2` * `ghcr.io/parkervcp/yolks:mariadb_11.2`
* [`MariaDB 11.3`](/mariadb/11.3) * [`MariaDB 11.3`](/mariadb/11.3)
* `ghcr.io/b3ni15/yolks:mariadb_11.3` * `ghcr.io/parkervcp/yolks:mariadb_11.3`
* [`MariaDB 11.4`](/mariadb/11.4) * [`MariaDB 11.4`](/mariadb/11.4)
* `ghcr.io/b3ni15/yolks:mariadb_11.4` * `ghcr.io/parkervcp/yolks:mariadb_11.4`
* [`MariaDB 11.5`](/mariadb/11.5)
* `ghcr.io/b3ni15/yolks:mariadb_11.5`
* [`MariaDB 11.6`](/mariadb/11.6)
* `ghcr.io/b3ni15/yolks:mariadb_11.6`
### [MongoDB](/mongodb) ### [MongoDB](/mongodb)
* [`MongoDB 4`](/mongodb/4)
* `ghcr.io/parkervcp/yolks:mongodb_4`
* [`MongoDB 5`](/mongodb/5) * [`MongoDB 5`](/mongodb/5)
* `ghcr.io/b3ni15/yolks:mongodb_5` * `ghcr.io/parkervcp/yolks:mongodb_5`
* [`MongoDB 6`](/mongodb/6) * [`MongoDB 6`](/mongodb/6)
* `ghcr.io/b3ni15/yolks:mongodb_6` * `ghcr.io/parkervcp/yolks:mongodb_6`
* [`MongoDB 7`](/mongodb/7) * [`MongoDB 7`](/mongodb/7)
* `ghcr.io/b3ni15/yolks:mongodb_7` * `ghcr.io/parkervcp/yolks:mongodb_7`
* [`MongoDB 8`](/mongodb/8)
* `ghcr.io/b3ni15/yolks:mongodb_8`
### [Mono](/mono) ### [Mono](/mono)
* [`mono_latest`](/mono/latest) * [`mono_latest`](/mono/latest)
* `ghcr.io/b3ni15/yolks:mono_latest` * `ghcr.io/parkervcp/yolks:mono_latest`
### [Nodejs](/nodejs) ### [Nodejs](/nodejs)
* [`node12`](/nodejs/12) * [`node12`](/nodejs/12)
* `ghcr.io/b3ni15/yolks:nodejs_12` * `ghcr.io/parkervcp/yolks:nodejs_12`
* [`node14`](/nodejs/14) * [`node14`](/nodejs/14)
* `ghcr.io/b3ni15/yolks:nodejs_14` * `ghcr.io/parkervcp/yolks:nodejs_14`
* [`node16`](/nodejs/16) * [`node16`](/nodejs/16)
* `ghcr.io/b3ni15/yolks:nodejs_16` * `ghcr.io/parkervcp/yolks:nodejs_16`
* [`node17`](/nodejs/17) * [`node17`](/nodejs/17)
* `ghcr.io/b3ni15/yolks:nodejs_17` * `ghcr.io/parkervcp/yolks:nodejs_17`
* [`node18`](/nodejs/18) * [`node18`](/nodejs/18)
* `ghcr.io/b3ni15/yolks:nodejs_18` * `ghcr.io/parkervcp/yolks:nodejs_18`
* [`node19`](/nodejs/19) * [`node19`](/nodejs/19)
* `ghcr.io/b3ni15/yolks:nodejs_19` * `ghcr.io/parkervcp/yolks:nodejs_19`
* [`node20`](/nodejs/20) * [`node20`](/nodejs/20)
* `ghcr.io/b3ni15/yolks:nodejs_20` * `ghcr.io/parkervcp/yolks:nodejs_20`
* [`node21`](/nodejs/21) * [`node21`](/nodejs/21)
* `ghcr.io/b3ni15/yolks:nodejs_21` * `ghcr.io/parkervcp/yolks:nodejs_21`
* [`node22`](/nodejs/22)
* `ghcr.io/b3ni15/yolks:nodejs_22`
* [`node23`](/nodejs/23)
* `ghcr.io/b3ni15/yolks:nodejs_23`
* [`node24`](/nodejs/24)
* `ghcr.io/b3ni15/yolks:nodejs_24`
### [PostgreSQL](/postgres) ### [PostgreSQL](/postgres)
* [`Postgres 9`](/postgres/9) * [`Postgres 9`](/postgres/9)
* `ghcr.io/b3ni15/yolks:postgres_9` * `ghcr.io/parkervcp/yolks:postgres_9`
* [`Postgres 10`](/postgres/10) * [`Postgres 10`](/postgres/10)
* `ghcr.io/b3ni15/yolks:postgres_10` * `ghcr.io/parkervcp/yolks:postgres_10`
* [`Postgres 11`](/postgres/11) * [`Postgres 11`](/postgres/11)
* `ghcr.io/b3ni15/yolks:postgres_11` * `ghcr.io/parkervcp/yolks:postgres_11`
* [`Postgres 12`](/postgres/12) * [`Postgres 12`](/postgres/12)
* `ghcr.io/b3ni15/yolks:postgres_12` * `ghcr.io/parkervcp/yolks:postgres_12`
* [`Postgres 13`](/postgres/13) * [`Postgres 13`](/postgres/13)
* `ghcr.io/b3ni15/yolks:postgres_13` * `ghcr.io/parkervcp/yolks:postgres_13`
* [`Postgres 14`](/postgres/14) * [`Postgres 14`](/postgres/14)
* `ghcr.io/b3ni15/yolks:postgres_14` * `ghcr.io/parkervcp/yolks:postgres_14`
### [Python](/python) ### [Python](/python)
* [`python3.7`](/python/3.7) * [`python3.7`](/python/3.7)
* `ghcr.io/b3ni15/yolks:python_3.7` * `ghcr.io/parkervcp/yolks:python_3.7`
* [`python3.8`](/python/3.8) * [`python3.8`](/python/3.8)
* `ghcr.io/b3ni15/yolks:python_3.8` * `ghcr.io/parkervcp/yolks:python_3.8`
* [`python3.9`](/python/3.9) * [`python3.9`](/python/3.9)
* `ghcr.io/b3ni15/yolks:python_3.9` * `ghcr.io/parkervcp/yolks:python_3.9`
* [`python3.10`](/python/3.10) * [`python3.10`](/python/3.10)
* `ghcr.io/b3ni15/yolks:python_3.10` * `ghcr.io/parkervcp/yolks:python_3.10`
* [`python3.11`](/python/3.11) * [`python3.11`](/python/3.11)
* `ghcr.io/b3ni15/yolks:python_3.11` * `ghcr.io/parkervcp/yolks:python_3.11`
* [`python3.12`](/python/3.12) * [`python3.12`](/python/3.12)
* `ghcr.io/b3ni15/yolks:python_3.12` * `ghcr.io/parkervcp/yolks:python_3.12`
* [`python3.13`](/python/3.13)
* `ghcr.io/b3ni15/yolks:python_3.13`
### [Redis](/redis) ### [Redis](/redis)
* [`Redis 5`](/redis/5) * [`Redis 5`](/redis/5)
* `ghcr.io/b3ni15/yolks:redis_5` * `ghcr.io/parkervcp/yolks:redis_5`
* [`Redis 6`](/redis/6) * [`Redis 6`](/redis/6)
* `ghcr.io/b3ni15/yolks:redis_6` * `ghcr.io/parkervcp/yolks:redis_6`
* [`Redis 7`](/redis/7) * [`Redis 7`](/redis/7)
* `ghcr.io/b3ni15/yolks:redis_7` * `ghcr.io/parkervcp/yolks:redis_7`
* [`Redis 8`](/redis/8)
* `ghcr.io/b3ni15/yolks:redis_8`
### [Rust](/rust) ### [Rust](/rust)
* ['rust1.56'](/rust/1.56) * ['rust1.56'](/rust/1.56)
* `ghcr.io/b3ni15/yolks:rust_1.56` * `ghcr.io/parkervcp/yolks:rust_1.56`
* ['rust1.60'](/rust/1.60) * ['rust1.60'](/rust/1.60)
* `ghcr.io/b3ni15/yolks:rust_1.60` * `ghcr.io/parkervcp/yolks:rust_1.60`
* ['rust latest'](/rust/latest) * ['rust latest'](/rust/latest)
* `ghcr.io/b3ni15/yolks:rust_latest` * `ghcr.io/parkervcp/yolks:rust_latest`
### [SteamCMD](/steamcmd) ### [SteamCMD](/steamcmd)
* [`SteamCMD Debian lastest`](/steamcmd/debian) * [`SteamCMD Debian lastest`](/steamcmd/debian)
* `ghcr.io/b3ni15/steamcmd:debian` * `ghcr.io/parkervcp/steamcmd:debian`
* [`SteamCMD Debian Dotnet`](/steamcmd/dotnet) * [`SteamCMD Debian Dotnet`](/steamcmd/dotnet)
* `ghcr.io/b3ni15/steamcmd:dotnet` * `ghcr.io/parkervcp/steamcmd:dotnet`
* [`SteamCMD Proton`](/steamcmd/proton) * [`SteamCMD Proton`](/steamcmd/proton)
* `ghcr.io/b3ni15/steamcmd:proton` * `ghcr.io/parkervcp/steamcmd:proton`
* [`SteamCMD Proton`](/steamcmd/proton_8) * [`SteamCMD Proton`](/steamcmd/proton_8)
* `ghcr.io/b3ni15/steamcmd:proton_8` * `ghcr.io/parkervcp/steamcmd:proton_8`
* [`SteamCMD Sniper latest`](/steamcmd/sniper) * [`SteamCMD Sniper latest`](/steamcmd/sniper)
* `ghcr.io/b3ni15/steamcmd:sniper` * `ghcr.io/parkervcp/steamcmd:sniper`
* [`SteamCMD Ubuntu latest LTS`](/steamcmd/ubuntu) * [`SteamCMD Ubuntu latest LTS`](/steamcmd/ubuntu)
* `ghcr.io/b3ni15/steamcmd:ubuntu` * `ghcr.io/parkervcp/steamcmd:ubuntu`
### [Voice](/voice) ### [Voice](/voice)
* [`Mumble`](/voice/mumble) * [`Mumble`](/voice/mumble)
* `ghcr.io/b3ni15/yolks:voice_mumble` * `ghcr.io/parkervcp/yolks:voice_mumble`
* [`TeaSpeak`](/voice/teaspeak) * [`TeaSpeak`](/voice/teaspeak)
* `ghcr.io/b3ni15/yolks:voice_teaspeak` * `ghcr.io/parkervcp/yolks:voice_teaspeak`
### [Wine](/wine) ### [Wine](/wine)
* [`Wine`](/wine) * [`Wine`](/wine)
* `ghcr.io/b3ni15/yolks:wine_7` * `ghcr.io/parkervcp/yolks:wine_latest`
* `ghcr.io/b3ni15/yolks:wine_8` * `ghcr.io/parkervcp/yolks:wine_devel`
* `ghcr.io/b3ni15/yolks:wine_9` * `ghcr.io/parkervcp/yolks:wine_staging`
* `ghcr.io/b3ni15/yolks:wine_10`
* `ghcr.io/b3ni15/yolks:wine_latest`
* `ghcr.io/b3ni15/yolks:wine_devel`
* `ghcr.io/b3ni15/yolks:wine_staging`
### [Installation Images](/installers) ### [Installation Images](/installers)
* [`alpine-install`](/installers/alpine) * [`alpine-install`](/installers/alpine)
* `ghcr.io/b3ni15/installers:alpine` * `ghcr.io/parkervcp/installers:alpine`
* [`debian-install`](/installers/debian) * [`debian-install`](/installers/debian)
* `ghcr.io/b3ni15/installers:debian` * `ghcr.io/parkervcp/installers:debian`
* [`ubuntu-install`](/installers/ubuntu) * [`ubuntu-install`](/installers/ubuntu)
* `ghcr.io/b3ni15/installers:ubuntu` * `ghcr.io/parkervcp/installers:ubuntu`

View File

@@ -1,4 +1,4 @@
FROM --platform=$TARGETOS/$TARGETARCH node:22-alpine FROM --platform=$TARGETOS/$TARGETARCH node:18-alpine
LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL author="Torsten Widmann" maintainer="info@goover.de"
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images"
@@ -59,4 +59,4 @@ STOPSIGNAL SIGINT
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/sbin/tini", "-g", "--"] ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["/entrypoint.sh"] CMD ["/entrypoint.sh"]

View File

@@ -2,7 +2,7 @@ FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
# general packages # general packages

View File

@@ -3,7 +3,7 @@ FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim
LABEL org.opencontainers.image.authors="i2007@damw.eu" LABEL org.opencontainers.image.authors="i2007@damw.eu"
LABEL version="1.0" LABEL version="1.0"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
# Install Dependencies # Install Dependencies
RUN apt update \ RUN apt update \
@@ -14,8 +14,8 @@ RUN apt update \
&& useradd -m -d /home/container container && useradd -m -d /home/container container
#RUN python3 -m pip install requests #RUN python3 -m pip install requests
ENV LANG=C.UTF-8 ENV LANG C.UTF-8
ENV LC_ALL=C.UTF-8 ENV LC_ALL C.UTF-8
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container

View File

@@ -2,7 +2,7 @@ FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim
LABEL author="QuintenQVD" maintainer="josdekurk@gmail.com" LABEL author="QuintenQVD" maintainer="josdekurk@gmail.com"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
## Update base packages ## Update base packages
RUN apt update \ RUN apt update \

View File

@@ -12,27 +12,27 @@ export INTERNAL_IP
cd /home/container || exit 1 cd /home/container || exit 1
# Print Java version # Print Java version
printf "\033[1m\033[33mcontainer~ \033[0mjava -version\n" printf "\033[1m\033[33mcontainer@pelican~ \033[0mjava -version\n"
java -version java -version
# Print Python version # Print Python version
if command -v python &> /dev/null if command -v python &> /dev/null
then then
printf "\033[1m\033[33mcontainer~ \033[0mpython --version\n" printf "\033[1m\033[33mcontainer@pelican~ \033[0mpython --version\n"
python --version python --version
else else
printf "\033[1m\033[33mcontainer~ \033[0mpython3 --version\n" printf "\033[1m\033[33mcontainer@pelican~ \033[0mpython3 --version\n"
python3 --version python3 --version
fi fi
# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell # Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
# variable format of "${VARIABLE}" before evaluating the string and automatically # variable format of "${VARIABLE}" before evaluating the string and automatically
# replacing the values. # replacing the values.
PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g') PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat -)")
# Display the command we're running in the output, and then execute it with eval # Display the command we're running in the output, and then execute it with the env
printf "\033[1m\033[33mcontainer~ \033[0m" # from the container itself.
echo "$PARSED" printf "\033[1m\033[33mcontainer@pelican~ \033[0m%s\n" "$PARSED"
# shellcheck disable=SC2086 # shellcheck disable=SC2086
eval "$PARSED" exec env ${PARSED}

View File

@@ -1,18 +1,18 @@
FROM --platform=$TARGETOS/$TARGETARCH dart:2.17 FROM --platform=$TARGETOS/$TARGETARCH dart:2.17
LABEL author="Alden Bansemer" maintainer="alden@knoban.com" LABEL author="Alden Bansemer" maintainer="alden@knoban.com"
RUN apt update \ RUN apt update \
&& apt -y install iproute2 git ca-certificates tzdata tini \ && apt -y install iproute2 git ca-certificates tzdata tini \
&& useradd -m -d /home/container container && useradd -m -d /home/container container
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"] CMD ["/entrypoint.sh"]

View File

@@ -1,18 +1,18 @@
FROM --platform=$TARGETOS/$TARGETARCH dart:2.18 FROM --platform=$TARGETOS/$TARGETARCH dart:2.18
LABEL author="Alden Bansemer" maintainer="alden@knoban.com" LABEL author="Alden Bansemer" maintainer="alden@knoban.com"
RUN apt update \ RUN apt update \
&& apt -y install iproute2 git ca-certificates tzdata tini \ && apt -y install iproute2 git ca-certificates tzdata tini \
&& useradd -m -d /home/container container && useradd -m -d /home/container container
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"] CMD ["/entrypoint.sh"]

View File

@@ -1,18 +1,18 @@
FROM --platform=$TARGETOS/$TARGETARCH dart:2.19 FROM --platform=$TARGETOS/$TARGETARCH dart:2.19
LABEL author="Alden Bansemer" maintainer="alden@knoban.com" LABEL author="Alden Bansemer" maintainer="alden@knoban.com"
RUN apt update \ RUN apt update \
&& apt -y install iproute2 git ca-certificates tzdata tini \ && apt -y install iproute2 git ca-certificates tzdata tini \
&& useradd -m -d /home/container container && useradd -m -d /home/container container
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"] CMD ["/entrypoint.sh"]

View File

@@ -2,7 +2,7 @@ FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL author="Torsten Widmann" maintainer="info@goover.de"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt upgrade -y \ && apt upgrade -y \

View File

@@ -2,7 +2,7 @@ FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL author="Torsten Widmann" maintainer="info@goover.de"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt upgrade -y \ && apt upgrade -y \

View File

@@ -2,7 +2,7 @@ FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL author="Torsten Widmann" maintainer="info@goover.de"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt upgrade -y \ && apt upgrade -y \

View File

@@ -2,7 +2,7 @@ FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL author="Torsten Widmann" maintainer="info@goover.de"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt upgrade -y \ && apt upgrade -y \

View File

@@ -1,25 +1,25 @@
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL author="Torsten Widmann" maintainer="info@goover.de"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt upgrade -y \ && apt upgrade -y \
&& apt install -y apt-transport-https wget curl iproute2 libgdiplus tini \ && apt install -y apt-transport-https wget curl iproute2 libgdiplus tini \
&& wget https://dot.net/v1/dotnet-install.sh \ && wget https://dot.net/v1/dotnet-install.sh \
&& D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/7.0 | grep -i '<h3 id="sdk-7.*">SDK 7.*.*</h3>' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \ && D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/7.0 | grep -i '<h3 id="sdk-7.*">SDK 7.*.*</h3>' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \
&& chmod +x dotnet-install.sh \ && chmod +x dotnet-install.sh \
&& ./dotnet-install.sh -i /usr/share -v $D_V \ && ./dotnet-install.sh -i /usr/share -v $D_V \
&& ln -s /usr/share/dotnet /usr/bin/dotnet && ln -s /usr/share/dotnet /usr/bin/dotnet
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"] CMD ["/entrypoint.sh"]

View File

@@ -2,7 +2,7 @@ FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL author="Torsten Widmann" maintainer="info@goover.de"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt upgrade -y \ && apt upgrade -y \

View File

@@ -1,25 +0,0 @@
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/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 iproute2 libgdiplus tini \
&& wget https://dot.net/v1/dotnet-install.sh \
&& D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/9.0 | grep -i '<h3 id="sdk-9.*">SDK 9.*.*</h3>' | 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"]

View File

@@ -9,7 +9,7 @@ export INTERNAL_IP
export DOTNET_ROOT=/usr/share/ export DOTNET_ROOT=/usr/share/
# print the dotnet version on startup # print the dotnet version on startup
printf "\033[1m\033[33mcontainer~ \033[0mdotnet --version\n" printf "\033[1m\033[33mcontainer@pelican~ \033[0mdotnet --version\n"
dotnet --version dotnet --version
# Replace Startup Variables # Replace Startup Variables

View File

@@ -1,16 +1,16 @@
FROM --platform=$TARGETOS/$TARGETARCH erlang:25-alpine FROM --platform=$TARGETOS/$TARGETARCH erlang:25-alpine
LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de"
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks" LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
LABEL org.opencontainers.image.licenses=MIT LABEL org.opencontainers.image.licenses=MIT
RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \
&& adduser -D -h /home/container container && adduser -D -h /home/container container
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
COPY ./../entrypoint.sh /entrypoint.sh COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ] CMD [ "/bin/ash", "/entrypoint.sh" ]

View File

@@ -1,16 +1,16 @@
FROM --platform=$TARGETOS/$TARGETARCH erlang:26-alpine FROM --platform=$TARGETOS/$TARGETARCH erlang:26-alpine
LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de"
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks" LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
LABEL org.opencontainers.image.licenses=MIT LABEL org.opencontainers.image.licenses=MIT
RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \
&& adduser -D -h /home/container container && adduser -D -h /home/container container
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
COPY ./../entrypoint.sh /entrypoint.sh COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ] CMD [ "/bin/ash", "/entrypoint.sh" ]

View File

@@ -10,16 +10,16 @@ export INTERNAL_IP
cd /home/container || exit 1 cd /home/container || exit 1
# Print Erlang's version # Print Erlang's version
printf "\033[1m\033[33mcontainer~ \033[0merl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'\n" 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()' 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 # Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
# variable format of "${VARIABLE}" before evaluating the string and automatically # variable format of "${VARIABLE}" before evaluating the string and automatically
# replacing the values. # replacing the values.
PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g') PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat -)")
# Display the command we're running in the output, and then execute it with eval # Display the command we're running in the output, and then execute it with the env
printf "\033[1m\033[33mcontainer~ \033[0m" # from the container itself.
echo "$PARSED" printf "\033[1m\033[33mcontainer@pelican~ \033[0m%s\n" "$PARSED"
# shellcheck disable=SC2086 # shellcheck disable=SC2086
eval "$PARSED" exec env ${PARSED}

View File

@@ -5,7 +5,7 @@ FROM --platform=$TARGETOS/$TARGETARCH node:16-bookworm
LABEL author="goover" maintainer="info@goover.de" LABEL author="goover" maintainer="info@goover.de"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN useradd -m -d /home/container -s /bin/bash container RUN useradd -m -d /home/container -s /bin/bash container
@@ -18,7 +18,7 @@ RUN apt update -y \
RUN wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ RUN wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
&& dpkg -i packages-microsoft-prod.deb \ && dpkg -i packages-microsoft-prod.deb \
&& apt update -y \ && apt update -y \
&& apt install -y dotnet-sdk-6.0 dotnet-sdk-7.0 dotnet-sdk-8.0 libgdiplus && apt install -y dotnet-sdk-6.0 dotnet-sdk-7.0 libgdiplus
RUN update-locale lang=en_US.UTF-8 \ RUN update-locale lang=en_US.UTF-8 \
&& dpkg-reconfigure --frontend noninteractive locales && dpkg-reconfigure --frontend noninteractive locales
@@ -32,4 +32,4 @@ STOPSIGNAL SIGINT
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"] CMD ["/entrypoint.sh"]

View File

@@ -1,6 +1,6 @@
FROM --platform=$TARGETOS/$TARGETARCH debian:bullseye-slim FROM --platform=$TARGETOS/$TARGETARCH debian:bullseye-slim
LABEL author="David Wolfe (Red-Thirten)" maintainer="red_thirten@yahoo.com" LABEL author="David Wolfe (Red-Thirten)" maintainer="rehlmgaming@gmail.com"
LABEL org.opencontainers.image.source="https://github.com/parkervcp/yolks" LABEL org.opencontainers.image.source="https://github.com/parkervcp/yolks"
LABEL org.opencontainers.image.licenses=MIT LABEL org.opencontainers.image.licenses=MIT

View File

@@ -54,9 +54,8 @@ function RunSteamCMD { #[Input: int server=0 mod=1 optional_mod=2; int id]
# Error checking for SteamCMD # Error checking for SteamCMD
steamcmdExitCode=${PIPESTATUS[0]} steamcmdExitCode=${PIPESTATUS[0]}
# Catch errors (ignore setlocale, SDL, steamservice, thread priority, and libcurl warnings) loggedErrors=$(grep -i "error\|failed" "${STEAMCMD_LOG}" | grep -iv "setlocal\|SDL\|steamservice\|thread")
loggedErrors=$(grep -i "error\|failed" "${STEAMCMD_LOG}" | grep -iv "setlocal\|SDL\|steamservice\|thread\|libcurl") if [[ -n ${loggedErrors} ]]; then # Catch errors (ignore setlocale, SDL, steamservice, and thread priority warnings)
if [[ -n ${loggedErrors} ]]; then
# Soft errors # Soft errors
if [[ -n $(grep -i "Timeout downloading item" "${STEAMCMD_LOG}") ]]; then # Mod download timeout 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 "\n${YELLOW}[UPDATE]: ${NC}Timeout downloading Steam Workshop mod: \"${CYAN}${modName}${NC}\" (${CYAN}${2}${NC})"
@@ -347,12 +346,6 @@ if [[ ${MODS_LOWERCASE} == "1" ]]; then
done done
fi 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 # Clear HC cache, if specified
if [[ ${CLEAR_CACHE} == "1" ]]; then if [[ ${CLEAR_CACHE} == "1" ]]; then
echo -e "\n${GREEN}[STARTUP]: ${CYAN}Clearing Headless Client profiles cache...${NC}" echo -e "\n${GREEN}[STARTUP]: ${CYAN}Clearing Headless Client profiles cache...${NC}"
@@ -402,11 +395,7 @@ fi
# Start the Server # Start the Server
echo -e "\n${GREEN}[STARTUP]:${NC} Starting server with the following startup command:" echo -e "\n${GREEN}[STARTUP]:${NC} Starting server with the following startup command:"
echo -e "${CYAN}${modifiedStartup}${NC}\n" echo -e "${CYAN}${modifiedStartup}${NC}\n"
if [[ "$STARTUP_PARAMS" == *"-noLogs"* ]]; then ${modifiedStartup}
${modifiedStartup}
else
${modifiedStartup} 2>&1 | tee -a "$LOG_FILE"
fi
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo -e "\n${RED}PTDL_CONTAINER_ERR: There was an error while attempting to run the start command.${NC}\n" echo -e "\n${RED}PTDL_CONTAINER_ERR: There was an error while attempting to run the start command.${NC}\n"

View File

@@ -1,8 +1,8 @@
FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim FROM --platform=$BUILDPLATFORM debian:bullseye-slim
LABEL author="David Wolfe (Red-Thirten)" maintainer="red_thirten@yahoo.com" LABEL author="David Wolfe (Red-Thirten)" maintainer="rehlmgaming@gmail.com"
LABEL org.opencontainers.image.source="https://github.com/pelican-eggs/yolks" LABEL org.opencontainers.image.source="https://github.com/parkervcp/yolks"
LABEL org.opencontainers.image.licenses=MIT LABEL org.opencontainers.image.licenses=MIT
## Update base packages and install dependencies ## Update base packages and install dependencies
@@ -17,6 +17,7 @@ RUN dpkg --add-architecture i386 \
iproute2 \ iproute2 \
gettext-base \ gettext-base \
ca-certificates \ ca-certificates \
numactl \
libssl-dev \ libssl-dev \
lib32gcc-s1 \ lib32gcc-s1 \
libsdl2-2.0-0 \ libsdl2-2.0-0 \
@@ -28,17 +29,11 @@ RUN dpkg --add-architecture i386 \
libnss-wrapper \ libnss-wrapper \
tini tini
## install rcon client (bercon)
RUN cd /tmp/ \
&& curl -sSL https://github.com/WoozyMasta/bercon/releases/download/1.0.0/bercon > bercon \
&& mv bercon /usr/local/bin/ \
&& chmod +x /usr/local/bin/bercon
## Configure locale ## Configure locale
RUN update-locale lang=en_US.UTF-8 \ RUN update-locale lang=en_US.UTF-8 \
&& dpkg-reconfigure --frontend noninteractive locales && dpkg-reconfigure --frontend noninteractive locales
## Prepare NSS Wrapper for the entrypoint as a workaround for DayZ requiring a valid UID ## 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 ENV NSS_WRAPPER_PASSWD=/tmp/passwd NSS_WRAPPER_GROUP=/tmp/group
RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \ RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \
&& chgrp 0 ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \ && chgrp 0 ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \
@@ -51,10 +46,9 @@ USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
## Copy over and execute entrypoint.sh via Tini
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"] CMD ["/entrypoint.sh"]

View File

@@ -1,16 +1,15 @@
#!/bin/bash #!/bin/bash
## File: DayZ Image - entrypoint.sh ## File: Pterodactyl DayZ SA Image - entrypoint.sh
## Author: David Wolfe (Red-Thirten) ## Author: David Wolfe (Red-Thirten)
## Contributors: Aussie Server Hosts (https://aussieserverhosts.com/) ## Contributors: Aussie Server Hosts (https://aussieserverhosts.com/)
## Date: 2024/06/05 ## Date: 2022/11/27
## License: MIT License ## License: MIT License
## === CONSTANTS === ## === CONSTANTS ===
STEAMCMD_DIR="./steamcmd" # SteamCMD's directory containing steamcmd.sh 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 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. GAME_ID=221100 # SteamCMD ID for the DayZ SA GAME (not server). Only used for Workshop mod downloads.
# Color Codes # Color Codes
CYAN='\033[0;36m' CYAN='\033[0;36m'
@@ -46,16 +45,14 @@ function RunSteamCMD { #[Input: int server=0 mod=1; int id]
# Check if updating server or mod # Check if updating server or mod
if [[ $1 == 0 ]]; then # Server 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}" 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 else # Mod
${STEAMCMD_DIR}/steamcmd.sh "+login \"${STEAM_USER}\" \"${STEAM_PASS}\"" +workshop_download_item $GAME_ID $2 +quit | tee -a "${STEAMCMD_LOG}" numactl --physcpubind=+0 ${STEAMCMD_DIR}/steamcmd.sh "+login \"${STEAM_USER}\" \"${STEAM_PASS}\"" +workshop_download_item $GAME_ID $2 +quit | tee -a "${STEAMCMD_LOG}"
fi fi
# Error checking for SteamCMD # Error checking for SteamCMD
steamcmdExitCode=${PIPESTATUS[0]} steamcmdExitCode=${PIPESTATUS[0]}
# Catch errors (ignore setlocale, SDL, steamservice, thread priority, and libcurl warnings) if [[ -n $(grep -i "error\|failed" "${STEAMCMD_LOG}" | grep -iv "setlocal\|SDL\|thread") ]]; then # Catch errors (ignore setlocale, SDL, and thread priority warnings)
loggedErrors=$(grep -i "error\|failed" "${STEAMCMD_LOG}" | grep -iv "setlocal\|SDL\|steamservice\|thread\|libcurl")
if [[ -n ${loggedErrors} ]]; then
# Soft errors # Soft errors
if [[ -n $(grep -i "Timeout downloading item" "${STEAMCMD_LOG}") ]]; then # Mod download timeout 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 "\n${YELLOW}[UPDATE]: ${NC}Timeout downloading Steam Workshop mod: \"${CYAN}${modName}${NC}\" (${CYAN}${2}${NC})"
@@ -107,8 +104,8 @@ function RunSteamCMD { #[Input: int server=0 mod=1; int id]
# Move the downloaded mod to the root directory, and replace existing mod if needed # Move the downloaded mod to the root directory, and replace existing mod if needed
mkdir -p ./@$2 mkdir -p ./@$2
rm -rf ./@$2/* rm -rf ./@$2/*
mv -f ${WORKSHOP_DIR}/content/$GAME_ID/$2/* ./@$2 mv -f ./Steam/steamapps/workshop/content/$GAME_ID/$2/* ./@$2
rm -d ${WORKSHOP_DIR}/content/$GAME_ID/$2 rm -d ./Steam/steamapps/workshop/content/$GAME_ID/$2
# Make the mods contents all lowercase # Make the mods contents all lowercase
ModsLowercase @$2 ModsLowercase @$2
# Move any .bikey's to the keys directory # Move any .bikey's to the keys directory
@@ -241,11 +238,6 @@ if [[ ${UPDATE_SERVER} == 1 ]]; then
if [[ -n $latestUpdate ]] && [[ $latestUpdate =~ ^[0-9]+$ ]]; then # Notify last update date, if valid if [[ -n $latestUpdate ]] && [[ $latestUpdate =~ ^[0-9]+$ ]]; then # Notify last update date, if valid
echo -e "\tMod was last updated: ${CYAN}$(date -d @${latestUpdate})${NC}" echo -e "\tMod was last updated: ${CYAN}$(date -d @${latestUpdate})${NC}"
fi 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" echo -e "\tAttempting mod update/download via SteamCMD...\n"
RunSteamCMD 1 $modID RunSteamCMD 1 $modID
fi fi
@@ -288,6 +280,6 @@ echo -e "${CYAN}${modifiedStartup}${NC}\n"
${modifiedStartup} ${modifiedStartup}
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo -e "\n${RED}[STARTUP_ERR]: There was an error while attempting to run the start command.${NC}\n" echo -e "\n${RED}PTDL_CONTAINER_ERR: There was an error while attempting to run the start command.${NC}\n"
exit 1 exit 1
fi fi

View File

@@ -1,16 +1,16 @@
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:22.04 FROM --platform=$TARGETOS/$TARGETARCH ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y curl ca-certificates openssl git tar gnupg2 sqlite3 fontconfig tzdata iproute2 libfreetype6 software-properties-common \ && apt install -y curl ca-certificates openssl git tar gnupg2 sqlite3 fontconfig tzdata iproute2 libfreetype6 software-properties-common \
&& useradd -d /home/container -m container && useradd -d /home/container -m container
RUN add-apt-repository -y ppa:minetestdevs/stable RUN add-apt-repository -y ppa:minetestdevs/stable
RUN apt update && apt -y install minetest RUN apt update && apt -y install minetest
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ] CMD [ "/bin/bash", "/entrypoint.sh" ]

View File

@@ -12,7 +12,7 @@ export INTERNAL_IP
cd /home/container || exit 1 cd /home/container || exit 1
# Print minetest version # Print minetest version
printf "\033[1m\033[33mcontainer~ \033[0mminetest --version\n" printf "\033[1m\033[33mcontainer@pelican~ \033[0mminetest --version\n"
minetest --version minetest --version
# Replace Startup Variables # Replace Startup Variables
@@ -20,4 +20,4 @@ MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
echo -e ":/home/container$ ${MODIFIED_STARTUP}" echo -e ":/home/container$ ${MODIFIED_STARTUP}"
# Run the Server # Run the Server
eval ${MODIFIED_STARTUP} eval ${MODIFIED_STARTUP}

View File

@@ -1,53 +1,23 @@
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:20.04 FROM --platform=$TARGETOS/$TARGETARCH ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
ENV DEBIAN_FRONTEND noninteractive
## update base packages
RUN apt update && \ ## add container user
apt upgrade -y RUN useradd -m -d /home/container -s /bin/bash container
## install dependencies ## update base packages
RUN apt install -y \ RUN apt update \
tini \ && apt upgrade -y
iproute2 \
curl \ ## install dependencies
git \ RUN apt install -y iproute2 tar libssl1.1 curl git default-libmysqlclient-dev libmysqlclient-dev libreadline-gplv2-dev libncurses5-dev libncursesw5-dev \
zip \ libtool zip unzip libncurses5 libncursesw5 python3 openssl locales ffmpeg apt-transport-https libc6 binutils xz-utils liblua5.1-0
unzip \
tar \ ## configure locale
xz-utils \ RUN update-locale lang=en_US.UTF-8 \
libssl1.1 \ && dpkg-reconfigure --frontend noninteractive locales
apt-transport-https \
openssl \ WORKDIR /home/container
default-libmysqlclient-dev \
libreadline-dev \ COPY ./entrypoint.sh /entrypoint.sh
libncurses-dev \ CMD [ "/bin/bash", "/entrypoint.sh" ]
libtool \
python3 \
locales \
ffmpeg \
libc6 \
binutils \
liblua5.1-0
## configure locale
RUN update-locale lang=en_US.UTF-8 && \
dpkg-reconfigure --frontend noninteractive locales
## add container user
RUN useradd -m -d /home/container -s /bin/bash container
# Set up user and working directory
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
# Set the stop signal
STOPSIGNAL SIGINT
# Copy and set up the entrypoint script
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Define entrypoint and command
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]

View File

@@ -1,41 +0,0 @@
FROM node:22-slim
ARG DEBIAN_FRONTEND=noninteractive
RUN dpkg --add-architecture i386 \
&& apt update \
&& apt upgrade -y
RUN apt install -y \
lib32gcc-s1 \
lib32stdc++6 \
locales \
unzip \
curl \
iproute2 \
tzdata \
libgdiplus \
libsdl2-2.0-0:i386
RUN mkdir /wrapper \
&& npm install --prefix /wrapper ws
# Set the locale
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
## 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 ./entrypoint.sh /entrypoint.sh
COPY --chown=container:container ./wrapper.js /wrapper/wrapper.js
RUN chmod +x /wrapper/wrapper.js
CMD [ "/bin/bash", "/entrypoint.sh" ]

View File

@@ -1,58 +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 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 -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
echo ":/home/container$ ${MODIFIED_STARTUP}"
if [[ "${FRAMEWORK}" == "carbon" ]]; then
# Carbon: https://github.com/CarbonCommunity/Carbon
echo "Updating Carbon..."
curl -sSL "https://github.com/CarbonCommunity/Carbon/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}"

View File

@@ -1,140 +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();

View File

@@ -1,33 +1,27 @@
FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim
LABEL author="QuintenQVD" maintainer="josdekurk@gmail.com" LABEL author="QuintenQVD" maintainer="josdekurk@gmail.com"
RUN apt update \ RUN apt update \
&& apt -y upgrade && apt -y upgrade
RUN dpkg --add-architecture i386 \ RUN dpkg --add-architecture i386 \
&& apt update \ && apt update \
&& apt upgrade -y \ && 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 libstdc++6 lib32stdc++6 tar curl iproute2 openssl fontconfig dirmngr ca-certificates dnsutils tzdata zip tini \
&& apt install -y libtbb12:i386 libtbb-dev:i386 libicu-dev:i386 \ && apt install -y libtbb12:i386 libtbb-dev:i386 libicu-dev:i386 \
&& useradd -d /home/container -m container && useradd -d /home/container -m container
RUN mkdir -p /run/systemd && echo 'docker' > /run/systemd/container RUN mkdir -p /run/systemd && echo 'docker' > /run/systemd/container
RUN rm -rf /var/lib/apt/lists/* 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 \ USER container
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_i386.deb && \ ENV USER=container HOME=/home/container
dpkg -i libssl1.1_1.1.0g-2ubuntu4_i386.deb && \ WORKDIR /home/container
rm libssl1.1_1.1.0g-2ubuntu4_i386.deb; \
fi STOPSIGNAL SIGINT
USER container COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
ENV USER=container HOME=/home/container RUN chmod +x /entrypoint.sh
WORKDIR /home/container ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
STOPSIGNAL SIGINT
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]

View File

@@ -32,65 +32,29 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN dpkg --add-architecture i386 \ RUN dpkg --add-architecture i386 \
&& apt update \ && apt update \
&& apt upgrade -y \ && apt upgrade -y \
&& apt install -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 \
curl \ && useradd -m -d /home/container container
g++ \
gcc \
gdb \
iproute2 \
locales \
net-tools \
netcat-traditional \
tar \
telnet \
tini \
tzdata \
wget \
lib32gcc-s1 \
lib32stdc++6 \
lib32tinfo6 \
lib32z1 \
libcurl3-gnutls:i386 \
libcurl4-gnutls-dev:i386 \
libcurl4:i386 \
libfontconfig1 \
libgcc-11-dev \
libgcc-12-dev \
libncurses5:i386 \
libsdl1.2debian \
libsdl2-2.0-0:i386 \
libssl-dev:i386 \
libtinfo6:i386
# Install rcon ## install rcon
RUN cd /tmp/ \ 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 \ && 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 \ && tar xvf rcon.tar.gz \
&& mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/
# Temp fix for things that still need libssl1.1 # Temp fix for things that still need libssl1.1
RUN if [ "$(uname -m)" = "x86_64" ]; then \ 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 && \ 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 && \ dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb && \
rm libssl1.1_1.1.0g-2ubuntu4_amd64.deb; \ rm libssl1.1_1.1.0g-2ubuntu4_amd64.deb; \
fi fi
# Set the locale
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
# Setup user and working directory
RUN useradd -m -d /home/container -s /bin/bash container
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"] CMD ["/entrypoint.sh"]

View File

@@ -52,7 +52,11 @@ fi
if [ -z ${AUTO_UPDATE} ] || [ "${AUTO_UPDATE}" == "1" ]; then if [ -z ${AUTO_UPDATE} ] || [ "${AUTO_UPDATE}" == "1" ]; then
# Update Source Server # Update Source Server
if [ ! -z ${SRCDS_APPID} ]; then 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 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 ${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 ${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 else
echo -e "No appid set. Starting Server" echo -e "No appid set. Starting Server"
fi fi

View File

@@ -2,7 +2,7 @@ FROM --platform=$TARGETOS/$TARGETARCH ubuntu:22.04
LABEL author="Daniel Barton" maintainer="danny6167@gmail.com" LABEL author="Daniel Barton" maintainer="danny6167@gmail.com"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
## add container user ## add container user
RUN useradd -m -d /home/container -s /bin/bash container RUN useradd -m -d /home/container -s /bin/bash container

View File

@@ -21,7 +21,7 @@ fi
if [ -z ${AUTO_UPDATE} ] || [ "${AUTO_UPDATE}" == "1" ]; then if [ -z ${AUTO_UPDATE} ] || [ "${AUTO_UPDATE}" == "1" ]; then
# Update Source Server # Update Source Server
if [ ! -z ${SRCDS_APPID} ]; then 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 ./steamcmd/steamcmd.sh +force_install_dir /home/container +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +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 else
echo -e "No appid set. Starting Server" echo -e "No appid set. Starting Server"
fi fi

View File

@@ -1,38 +1,38 @@
# #
# Copyright (c) 2021 Matthew Penner # Copyright (c) 2021 Matthew Penner
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy # Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal # of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights # in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is # copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: # furnished to do so, subject to the following conditions:
# #
# The above copyright notice and this permission notice shall be included in all # The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software. # copies or substantial portions of the Software.
# #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # 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 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE. # SOFTWARE.
# #
FROM --platform=$TARGETOS/$TARGETARCH golang:1.22-alpine FROM --platform=$TARGETOS/$TARGETARCH golang:1.22-alpine
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks" LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
LABEL org.opencontainers.image.licenses=MIT LABEL org.opencontainers.image.licenses=MIT
RUN apk add --update --no-cache ca-certificates tzdata \ RUN apk add --update --no-cache ca-certificates tzdata \
&& adduser -D -h /home/container container && adduser -D -h /home/container container
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
COPY ./../entrypoint.sh /entrypoint.sh COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ] CMD [ "/bin/ash", "/entrypoint.sh" ]

View File

@@ -1,12 +0,0 @@
FROM --platform=$TARGETOS/$TARGETARCH golang:1.23-alpine
RUN apk add --update --no-cache ca-certificates 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" ]

View File

@@ -34,16 +34,16 @@ export INTERNAL_IP
cd /home/container || exit 1 cd /home/container || exit 1
# Print Go version # Print Go version
printf "\033[1m\033[33mcontainer~ \033[0mgo version\n" printf "\033[1m\033[33mcontainer@pelican~ \033[0mgo version\n"
go version go version
# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell # Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
# variable format of "${VARIABLE}" before evaluating the string and automatically # variable format of "${VARIABLE}" before evaluating the string and automatically
# replacing the values. # replacing the values.
PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g') PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat -)")
# Display the command we're running in the output, and then execute it with eval # Display the command we're running in the output, and then execute it with the env
printf "\033[1m\033[33mcontainer~ \033[0m" # from the container itself.
echo "$PARSED" printf "\033[1m\033[33mcontainer@pelican~ \033[0m%s\n" "$PARSED"
# shellcheck disable=SC2086 # shellcheck disable=SC2086
eval "$PARSED" exec env ${PARSED}

View File

@@ -1,4 +1,4 @@
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:11-jdk-noble FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:11.0.13_8-jdk-focal
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
@@ -20,8 +20,7 @@ RUN apt update -y \
libfreetype6 \ libfreetype6 \
tini \ tini \
zip \ zip \
unzip \ unzip
jq
## Setup user and working directory ## Setup user and working directory

View File

@@ -17,8 +17,7 @@ RUN apt update -y \
libfreetype6 \ libfreetype6 \
tini \ tini \
zip \ zip \
unzip \ unzip
jq
## Setup user and working directory ## Setup user and working directory
RUN useradd -m -d /home/container -s /bin/bash container RUN useradd -m -d /home/container -s /bin/bash container

View File

@@ -20,8 +20,7 @@ RUN apt update -y \
libfreetype6 \ libfreetype6 \
tini \ tini \
zip \ zip \
unzip \ unzip
jq
## Setup user and working directory ## Setup user and working directory
RUN useradd -m -d /home/container -s /bin/bash container RUN useradd -m -d /home/container -s /bin/bash container

View File

@@ -17,8 +17,7 @@ RUN apt update -y \
libfreetype6 \ libfreetype6 \
tini \ tini \
zip \ zip \
unzip \ unzip
jq
## Setup user and working directory ## Setup user and working directory
RUN useradd -m -d /home/container -s /bin/bash container RUN useradd -m -d /home/container -s /bin/bash container

View File

@@ -1,4 +1,4 @@
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:17-jdk-noble FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:17-jdk-jammy
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
@@ -20,8 +20,7 @@ RUN apt update -y \
libfreetype6 \ libfreetype6 \
tini \ tini \
zip \ zip \
unzip \ unzip
jq
## Setup user and working directory ## Setup user and working directory
RUN useradd -m -d /home/container -s /bin/bash container RUN useradd -m -d /home/container -s /bin/bash container

View File

@@ -1,4 +1,4 @@
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:19-jdk-focal FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:19-jdk-jammy
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
@@ -20,8 +20,7 @@ RUN apt update -y \
libfreetype6 \ libfreetype6 \
tini \ tini \
zip \ zip \
unzip \ unzip
jq
## Setup user and working directory ## Setup user and working directory
RUN useradd -m -d /home/container -s /bin/bash container RUN useradd -m -d /home/container -s /bin/bash container

View File

@@ -1,37 +1,36 @@
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:21-jdk-noble FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:21-jdk-jammy
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks" LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
LABEL org.opencontainers.image.licenses=MIT LABEL org.opencontainers.image.licenses=MIT
RUN apt update -y \ RUN apt update -y \
&& apt install -y \ && apt install -y \
curl \ curl \
lsof \ lsof \
ca-certificates \ ca-certificates \
openssl \ openssl \
git \ git \
tar \ tar \
sqlite3 \ sqlite3 \
fontconfig \ fontconfig \
tzdata \ tzdata \
iproute2 \ iproute2 \
libfreetype6 \ libfreetype6 \
tini \ tini \
zip \ zip \
unzip \ unzip
jq
## Setup user and working directory
## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container
RUN useradd -m -d /home/container -s /bin/bash container USER container
USER container ENV USER=container HOME=/home/container
ENV USER=container HOME=/home/container WORKDIR /home/container
WORKDIR /home/container
STOPSIGNAL SIGINT
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh
RUN chmod +x /entrypoint.sh ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] CMD ["/entrypoint.sh"]
CMD ["/entrypoint.sh"]

View File

@@ -1,37 +0,0 @@
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:22-jdk-noble
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/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 \
jq
## 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"]

View File

@@ -1,4 +1,4 @@
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:8-jdk-noble FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:8u312-b07-jdk-focal
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
@@ -20,8 +20,7 @@ RUN apt update -y \
libfreetype6 \ libfreetype6 \
tini \ tini \
zip \ zip \
unzip \ unzip
jq
## Setup user and working directory ## Setup user and working directory
RUN useradd -m -d /home/container -s /bin/bash container RUN useradd -m -d /home/container -s /bin/bash container

View File

@@ -17,8 +17,7 @@ RUN apt update -y \
libfreetype6 \ libfreetype6 \
tini \ tini \
zip \ zip \
unzip \ unzip
jq
## Setup user and working directory ## Setup user and working directory
RUN useradd -m -d /home/container -s /bin/bash container RUN useradd -m -d /home/container -s /bin/bash container

View File

@@ -34,16 +34,16 @@ export INTERNAL_IP
cd /home/container || exit 1 cd /home/container || exit 1
# Print Java version # Print Java version
printf "\033[1m\033[33mcontainer~ \033[0mjava -version\n" printf "\033[1m\033[33mcontainer@pelican~ \033[0mjava -version\n"
java -version java -version
# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell # Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
# variable format of "${VARIABLE}" before evaluating the string and automatically # variable format of "${VARIABLE}" before evaluating the string and automatically
# replacing the values. # replacing the values.
PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g') PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat -)")
# Display the command we're running in the output, and then execute it with eval # Display the command we're running in the output, and then execute it with the env
printf "\033[1m\033[33mcontainer~ \033[0m" # from the container itself.
echo "$PARSED" printf "\033[1m\033[33mcontainer@pelican~ \033[0m%s\n" "$PARSED"
# shellcheck disable=SC2086 # shellcheck disable=SC2086
eval "$PARSED" eval ${PARSED}

View File

@@ -5,7 +5,7 @@ FROM --platform=$TARGETOS/$TARGETARCH mariadb:10.3
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y netcat \ && apt install -y netcat \

View File

@@ -5,7 +5,7 @@ FROM --platform=$TARGETOS/$TARGETARCH mariadb:10.4
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y netcat \ && apt install -y netcat \

View File

@@ -5,7 +5,7 @@ FROM --platform=$TARGETOS/$TARGETARCH mariadb:10.5
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y netcat \ && apt install -y netcat \

View File

@@ -5,7 +5,7 @@ FROM --platform=$TARGETOS/$TARGETARCH mariadb:10.6
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y netcat \ && apt install -y netcat \

View File

@@ -5,7 +5,7 @@ FROM --platform=$TARGETOS/$TARGETARCH mariadb:10.7
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y netcat \ && apt install -y netcat \

View File

@@ -5,7 +5,7 @@ FROM --platform=$TARGETOS/$TARGETARCH mariadb:11.2
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y netcat \ && apt install -y netcat \

View File

@@ -5,7 +5,7 @@ FROM --platform=$TARGETOS/$TARGETARCH mariadb:11.3
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y netcat \ && apt install -y netcat \

View File

@@ -5,10 +5,10 @@ FROM --platform=$TARGETOS/$TARGETARCH mariadb:11.4
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y netcat-traditional \ && apt install -y netcat \
&& useradd -d /home/container -m container -s /bin/bash && useradd -d /home/container -m container -s /bin/bash
USER container USER container

View File

@@ -1,19 +0,0 @@
# -----------------------------------------------------
# MariaDB Image for Pterodactyl
# -----------------------------------------------------
FROM --platform=$TARGETOS/$TARGETARCH mariadb:11.5
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"]

View File

@@ -1,19 +0,0 @@
# -----------------------------------------------------
# MariaDB Image for Pterodactyl
# -----------------------------------------------------
FROM --platform=$TARGETOS/$TARGETARCH mariadb:11.6
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"]

View File

@@ -1,14 +1,14 @@
# ---------------------------------- # ----------------------------------
# Environment: MongoDB # Environment: MongoDB
# ---------------------------------- # ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH mongo:8-noble FROM --platform=$TARGETOS/$TARGETARCH mongo:4-focal
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y netcat-openbsd iproute2 \ && apt install -y netcat iproute2 \
&& useradd -d /home/container -m container -s /bin/bash && useradd -d /home/container -m container -s /bin/bash
USER container USER container

View File

@@ -5,7 +5,7 @@ FROM --platform=$TARGETOS/$TARGETARCH mongo:5-focal
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y netcat iproute2 \ && apt install -y netcat iproute2 \

View File

@@ -5,7 +5,7 @@ FROM --platform=$TARGETOS/$TARGETARCH mongo:6-jammy
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y netcat iproute2 \ && apt install -y netcat iproute2 \

View File

@@ -5,7 +5,7 @@ FROM --platform=$TARGETOS/$TARGETARCH mongo:7-jammy
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \ RUN apt update -y \
&& apt install -y netcat iproute2 \ && apt install -y netcat iproute2 \

View File

@@ -29,7 +29,11 @@ if [ ! -z "${SRCDS_APPID}" ]; then
if [ -z ${AUTO_UPDATE} ] || [ "${AUTO_UPDATE}" == "1" ]; then if [ -z ${AUTO_UPDATE} ] || [ "${AUTO_UPDATE}" == "1" ]; then
# Update Source Server # Update Source Server
if [ ! -z ${SRCDS_APPID} ]; then 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 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 ${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 ${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 else
echo -e "No appid set. Starting Server" echo -e "No appid set. Starting Server"
fi fi

View File

@@ -4,7 +4,7 @@ LABEL author="Torsten Widmann" maintainer="support@goover.de"
RUN apt update \ RUN apt update \
&& apt -y upgrade && apt -y upgrade
RUN apt install -y fontconfig dirmngr RUN apt install -y fontconfig dirmngr numactl
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN sh -c 'echo "deb https://download.mono-project.com/repo/debian stable-buster main" > /etc/apt/sources.list.d/mono-official-stable.list' RUN sh -c 'echo "deb https://download.mono-project.com/repo/debian stable-buster main" > /etc/apt/sources.list.d/mono-official-stable.list'
RUN apt update RUN apt update

View File

@@ -2,37 +2,18 @@ FROM --platform=$TARGETOS/$TARGETARCH node:12-bullseye-slim
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
# add container user and set stop signal
RUN useradd -m -d /home/container container
STOPSIGNAL SIGINT
RUN apt update \ RUN apt update \
&& apt -y install \ && 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 \
ffmpeg \ && useradd -m -d /home/container container
iproute2 \
git \
sqlite3 \
libsqlite3-dev \
python3 \
python3-dev \
ca-certificates \
dnsutils \
tzdata \
zip \
tar \
curl \
build-essential \
libtool \
iputils-ping \
libnss3 \
tini
RUN npm install --global npm@latest typescript ts-node @types/node RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]

View File

@@ -2,37 +2,18 @@ FROM --platform=$TARGETOS/$TARGETARCH node:14-bullseye-slim
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
# add container user and set stop signal
RUN useradd -m -d /home/container container
STOPSIGNAL SIGINT
RUN apt update \ RUN apt update \
&& apt -y install \ && 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 \
ffmpeg \ && useradd -m -d /home/container container
iproute2 \
git \
sqlite3 \
libsqlite3-dev \
python3 \
python3-dev \
ca-certificates \
dnsutils \
tzdata \
zip \
tar \
curl \
build-essential \
libtool \
iputils-ping \
libnss3 \
tini
RUN npm install --global npm@latest typescript ts-node @types/node RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]

View File

@@ -2,37 +2,18 @@ FROM --platform=$TARGETOS/$TARGETARCH node:16-bookworm-slim
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
# add container user and set stop signal
RUN useradd -m -d /home/container container
STOPSIGNAL SIGINT
RUN apt update \ RUN apt update \
&& apt -y install \ && 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 \
ffmpeg \ && useradd -m -d /home/container container
iproute2 \
git \
sqlite3 \
libsqlite3-dev \
python3 \
python3-dev \
ca-certificates \
dnsutils \
tzdata \
zip \
tar \
curl \
build-essential \
libtool \
iputils-ping \
libnss3 \
tini
RUN npm install --global npm@9.x.x typescript ts-node @types/node RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]

View File

@@ -2,37 +2,18 @@ FROM --platform=$TARGETOS/$TARGETARCH node:17-bullseye-slim
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
# add container user and set stop signal
RUN useradd -m -d /home/container container
STOPSIGNAL SIGINT
RUN apt update \ RUN apt update \
&& apt -y install \ && 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 \
ffmpeg \ && useradd -m -d /home/container container
iproute2 \
git \
sqlite3 \
libsqlite3-dev \
python3 \
python3-dev \
ca-certificates \
dnsutils \
tzdata \
zip \
tar \
curl \
build-essential \
libtool \
iputils-ping \
libnss3 \
tini
RUN npm install --global npm@8.x.x typescript ts-node @types/node RUN npm install npm@8.11.0 typescript ts-node @types/node --location=global
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]

View File

@@ -2,42 +2,18 @@ FROM --platform=$TARGETOS/$TARGETARCH node:18-bookworm-slim
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
# add container user and set stop signal
RUN useradd -m -d /home/container container
STOPSIGNAL SIGINT
RUN apt update \ RUN apt update \
&& apt -y install \ && 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 \
ffmpeg \ && useradd -m -d /home/container container
iproute2 \
git \
sqlite3 \
libsqlite3-dev \
python3 \
python3-dev \
ca-certificates \
dnsutils \
tzdata \
zip \
tar \
curl \
build-essential \
libtool \
iputils-ping \
libnss3 \
tini
RUN npm install --global npm@10.x.x typescript ts-node @types/node RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global
# install pnpm
RUN npm install -g corepack
RUN corepack enable
RUN corepack prepare pnpm@latest --activate
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]

View File

@@ -2,43 +2,19 @@ FROM --platform=$TARGETOS/$TARGETARCH node:19-bullseye-slim
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
# add container user and set stop signal
RUN useradd -m -d /home/container container
STOPSIGNAL SIGINT
RUN apt update \ RUN apt update \
&& apt -y install \ && 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 \
ffmpeg \ && useradd -m -d /home/container container
iproute2 \
git \
sqlite3 \
libsqlite3-dev \
python3 \
python3-dev \
ca-certificates \
dnsutils \
tzdata \
zip \
tar \
curl \
build-essential \
libtool \
iputils-ping \
libnss3 \
tini
RUN npm install --global npm@9.x.x typescript ts-node @types/node RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global
# install pnpm
RUN npm install -g corepack
RUN corepack enable
RUN corepack prepare pnpm@latest --activate
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"] CMD ["/entrypoint.sh"]

View File

@@ -2,42 +2,18 @@ FROM --platform=$TARGETOS/$TARGETARCH node:20-bookworm-slim
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
# add container user and set stop signal
RUN useradd -m -d /home/container container
STOPSIGNAL SIGINT
RUN apt update \ RUN apt update \
&& apt -y install \ && 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 \
ffmpeg \ && useradd -m -d /home/container container
iproute2 \
git \
sqlite3 \
libsqlite3-dev \
python3 \
python3-dev \
ca-certificates \
dnsutils \
tzdata \
zip \
tar \
curl \
build-essential \
libtool \
iputils-ping \
libnss3 \
tini
RUN npm install --global npm@latest typescript ts-node @types/node 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 USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] ENTRYPOINT ["/usr/bin/tini", "-g", "--"]

Some files were not shown because too many files have changed in this diff Show More