forked from pterodactyl/yolks
-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a90f38
commit 10275ce
Showing
16 changed files
with
400 additions
and
400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
name: build box64 | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * 1" | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- box64/** | ||
jobs: | ||
push: | ||
name: "yolks:${{ matrix.tag }}" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
tag: | ||
- box64 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: docker/setup-qemu-action@v3 | ||
- uses: docker/setup-buildx-action@v3 | ||
with: | ||
buildkitd-flags: --debug | ||
- uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.REGISTRY_TOKEN }} | ||
- uses: docker/build-push-action@v6 | ||
with: | ||
context: ./box64 | ||
file: ./${{ matrix.tag }}/Dockerfile | ||
platforms: linux/arm64 | ||
push: true | ||
tags: | | ||
ghcr.io/pelican-eggs/yolks:${{ matrix.tag }} | ||
ghcr.io/parkervcp/yolks:${{ matrix.tag }} | ||
name: build box64 | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * 1" | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- box64/** | ||
jobs: | ||
push: | ||
name: "yolks:${{ matrix.tag }}" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
tag: | ||
- box64 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: docker/setup-qemu-action@v3 | ||
- uses: docker/setup-buildx-action@v3 | ||
with: | ||
buildkitd-flags: --debug | ||
- uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.REGISTRY_TOKEN }} | ||
- uses: docker/build-push-action@v6 | ||
with: | ||
context: ./box64 | ||
file: ./${{ matrix.tag }}/Dockerfile | ||
platforms: linux/arm64 | ||
push: true | ||
tags: | | ||
ghcr.io/pelican-eggs/yolks:${{ matrix.tag }} | ||
ghcr.io/parkervcp/yolks:${{ matrix.tag }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
name: build dart | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * 1" | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- dart/** | ||
jobs: | ||
push: | ||
name: "yolks:dart_${{ matrix.tag }}" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
tag: | ||
- '2.17' | ||
- '2.18' | ||
- '2.19' | ||
- '3.3' | ||
- 'stable' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# Setup QEMU for ARM64 Build | ||
- uses: docker/setup-qemu-action@v3 | ||
- uses: docker/setup-buildx-action@v3 | ||
with: | ||
buildkitd-flags: --debug | ||
- uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.REGISTRY_TOKEN }} | ||
- uses: docker/build-push-action@v6 | ||
with: | ||
context: ./dart | ||
file: ./dart/${{ matrix.tag }}/Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
tags: | | ||
ghcr.io/pelican-eggs/yolks:dart_${{ matrix.tag }} | ||
ghcr.io/parkervcp/yolks:dart_${{ matrix.tag }} | ||
name: build dart | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * 1" | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- dart/** | ||
jobs: | ||
push: | ||
name: "yolks:dart_${{ matrix.tag }}" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
tag: | ||
- '2.17' | ||
- '2.18' | ||
- '2.19' | ||
- '3.3' | ||
- 'stable' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# Setup QEMU for ARM64 Build | ||
- uses: docker/setup-qemu-action@v3 | ||
- uses: docker/setup-buildx-action@v3 | ||
with: | ||
buildkitd-flags: --debug | ||
- uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.REGISTRY_TOKEN }} | ||
- uses: docker/build-push-action@v6 | ||
with: | ||
context: ./dart | ||
file: ./dart/${{ matrix.tag }}/Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
tags: | | ||
ghcr.io/pelican-eggs/yolks:dart_${{ matrix.tag }} | ||
ghcr.io/parkervcp/yolks:dart_${{ matrix.tag }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH dart:2.17 | ||
|
||
LABEL author="Alden Bansemer" maintainer="[email protected]" | ||
|
||
RUN apt update \ | ||
&& apt -y install iproute2 git ca-certificates tzdata tini \ | ||
&& useradd -m -d /home/container container | ||
|
||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
||
STOPSIGNAL SIGINT | ||
|
||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] | ||
CMD ["/entrypoint.sh"] | ||
FROM --platform=$TARGETOS/$TARGETARCH dart:2.17 | ||
|
||
LABEL author="Alden Bansemer" maintainer="[email protected]" | ||
|
||
RUN apt update \ | ||
&& apt -y install iproute2 git ca-certificates tzdata tini \ | ||
&& useradd -m -d /home/container container | ||
|
||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
||
STOPSIGNAL SIGINT | ||
|
||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] | ||
CMD ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH dart:2.18 | ||
|
||
LABEL author="Alden Bansemer" maintainer="[email protected]" | ||
|
||
RUN apt update \ | ||
&& apt -y install iproute2 git ca-certificates tzdata tini \ | ||
&& useradd -m -d /home/container container | ||
|
||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
||
STOPSIGNAL SIGINT | ||
|
||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] | ||
CMD ["/entrypoint.sh"] | ||
FROM --platform=$TARGETOS/$TARGETARCH dart:2.18 | ||
|
||
LABEL author="Alden Bansemer" maintainer="[email protected]" | ||
|
||
RUN apt update \ | ||
&& apt -y install iproute2 git ca-certificates tzdata tini \ | ||
&& useradd -m -d /home/container container | ||
|
||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
||
STOPSIGNAL SIGINT | ||
|
||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] | ||
CMD ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH dart:2.19 | ||
|
||
LABEL author="Alden Bansemer" maintainer="[email protected]" | ||
|
||
RUN apt update \ | ||
&& apt -y install iproute2 git ca-certificates tzdata tini \ | ||
&& useradd -m -d /home/container container | ||
|
||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
||
STOPSIGNAL SIGINT | ||
|
||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] | ||
CMD ["/entrypoint.sh"] | ||
FROM --platform=$TARGETOS/$TARGETARCH dart:2.19 | ||
|
||
LABEL author="Alden Bansemer" maintainer="[email protected]" | ||
|
||
RUN apt update \ | ||
&& apt -y install iproute2 git ca-certificates tzdata tini \ | ||
&& useradd -m -d /home/container container | ||
|
||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
||
STOPSIGNAL SIGINT | ||
|
||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] | ||
CMD ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian | ||
|
||
LABEL author="Torsten Widmann" maintainer="[email protected]" | ||
|
||
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/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 \ | ||
&& ./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"] | ||
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian | ||
|
||
LABEL author="Torsten Widmann" maintainer="[email protected]" | ||
|
||
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/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 \ | ||
&& ./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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian | ||
|
||
LABEL author="Torsten Widmann" maintainer="[email protected]" | ||
|
||
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"] | ||
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian | ||
|
||
LABEL author="Torsten Widmann" maintainer="[email protected]" | ||
|
||
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"] |
Oops, something went wrong.