Fix installers and OS build (#35)
Co-authored-by: softwarenoob <admin@softwarenoob.com>
This commit is contained in:
parent
9c9a26669e
commit
18b25caaf8
8 changed files with 78 additions and 45 deletions
12
.github/workflows/base.yml
vendored
12
.github/workflows/base.yml
vendored
|
@ -19,18 +19,18 @@ jobs:
|
|||
- alpine
|
||||
- debian
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/setup-qemu-action@v1
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
- uses: actions/checkout@v3
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
version: "v0.5.1"
|
||||
version: "v0.9.1"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
- uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
- uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./oses/${{ matrix.oses }}
|
||||
file: ./oses/${{ matrix.oses }}/Dockerfile
|
||||
|
|
10
.github/workflows/games.yml
vendored
10
.github/workflows/games.yml
vendored
|
@ -19,17 +19,17 @@ jobs:
|
|||
- source
|
||||
- rust
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
- uses: actions/checkout@v3
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
version: "v0.5.1"
|
||||
version: "v0.9.1"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
- uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
- uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./games/${{ matrix.game }}
|
||||
file: ./games/${{ matrix.game }}/Dockerfile
|
||||
|
|
12
.github/workflows/go.yml
vendored
12
.github/workflows/go.yml
vendored
|
@ -21,19 +21,19 @@ jobs:
|
|||
- 1.16
|
||||
- 1.17
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
# Setup QEMU for ARM64 Build
|
||||
- uses: docker/setup-qemu-action@v1
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
version: "v0.5.1"
|
||||
version: "v0.9.1"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
- uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
- uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./go
|
||||
file: ./go/${{ matrix.tag }}/Dockerfile
|
||||
|
|
51
.github/workflows/installers.yml
vendored
51
.github/workflows/installers.yml
vendored
|
@ -8,29 +8,34 @@ on:
|
|||
- master
|
||||
paths:
|
||||
- installers/**
|
||||
|
||||
# Two separate jobs, first for multiarch (amd64, arm64), second for amd64 only
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "installers:{{ matrix.tag }}"
|
||||
pushMultiArch:
|
||||
name: "yolks:installers_multiarch:${{ matrix.tag }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
tag:
|
||||
- alpine
|
||||
- debian
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/setup-qemu-action@v1
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
- uses: actions/checkout@v3
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
version: "v0.5.1"
|
||||
version: "v0.9.1"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
- name: Setup QEMU for multiarch builds
|
||||
uses: docker/setup-qemu-action@v2
|
||||
with:
|
||||
platforms: arm64,amd64
|
||||
- uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
- uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./installers
|
||||
file: ./installers/${{ matrix.tag }}/Dockerfile
|
||||
|
@ -38,3 +43,31 @@ jobs:
|
|||
push: true
|
||||
tags: |
|
||||
ghcr.io/pterodactyl/installers:${{ matrix.tag }}
|
||||
|
||||
pushAmd:
|
||||
name: "yolks:installers_amd:${{ matrix.tag }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
tag:
|
||||
- debian
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
version: "v0.7.0"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./installers
|
||||
file: ./installers/${{ matrix.tag }}/Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/pterodactyl/installers:${{ matrix.tag }}
|
||||
|
|
12
.github/workflows/java.yml
vendored
12
.github/workflows/java.yml
vendored
|
@ -26,18 +26,18 @@ jobs:
|
|||
- 18
|
||||
- 18j9
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/setup-qemu-action@v1
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
- uses: actions/checkout@v3
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
version: "v0.5.1"
|
||||
version: "v0.9.1"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
- uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
- uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./java
|
||||
file: ./java/${{ matrix.tag }}/Dockerfile
|
||||
|
|
12
.github/workflows/nodejs.yml
vendored
12
.github/workflows/nodejs.yml
vendored
|
@ -23,19 +23,19 @@ jobs:
|
|||
- 17
|
||||
- 18
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
# Setup QEMU for ARM64 Build
|
||||
- uses: docker/setup-qemu-action@v1
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
version: "v0.5.1"
|
||||
version: "v0.9.1"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
- uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
- uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./nodejs
|
||||
file: ./nodejs/${{ matrix.tag }}/Dockerfile
|
||||
|
|
12
.github/workflows/python.yml
vendored
12
.github/workflows/python.yml
vendored
|
@ -22,19 +22,19 @@ jobs:
|
|||
- '3.10'
|
||||
- '3.11'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
# Setup QEMU for ARM64 Build
|
||||
- uses: docker/setup-qemu-action@v1
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
version: "v0.5.1"
|
||||
version: "v0.9.1"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
- uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
- uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./python
|
||||
file: ./python/${{ matrix.tag }}/Dockerfile
|
||||
|
|
|
@ -6,7 +6,7 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
|
|||
LABEL org.opencontainers.image.licenses=MIT
|
||||
|
||||
RUN apt update && apt upgrade -y \
|
||||
&& apt install -y gcc g++ libgcc1 lib32gcc1 libc++-dev gdb libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools netcat telnet libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
||||
&& apt install -y gcc g++ libgcc1 libc++-dev gdb libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools netcat telnet libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
||||
libfontconfig libicu63 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadbclient-dev libduktape203 locales ffmpeg gnupg2 apt-transport-https software-properties-common ca-certificates tzdata \
|
||||
liblua5.3 libz-dev rapidjson-dev \
|
||||
&& update-locale lang=en_US.UTF-8 \
|
||||
|
|
Loading…
Reference in a new issue