-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
19 changed files
with
864 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: build java-zulu | ||
|
||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * 1" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- java/zulu/** | ||
|
||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
jobs: | ||
push: | ||
name: "java:zulu_${{ matrix.tag }}" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
tag: | ||
- 8 | ||
- 9 | ||
- 10 | ||
- 11 | ||
- 12 | ||
- 13 | ||
- 14 | ||
- 15 | ||
- 16 | ||
- 17 | ||
- 18 | ||
- 19 | ||
- 20 | ||
- 21 | ||
- 22 | ||
- 23 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
with: | ||
buildkitd-flags: --debug | ||
|
||
- uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: docker/build-push-action@v6 | ||
with: | ||
context: ./java/zulu | ||
file: ./java/zulu/${{ matrix.tag }}/Dockerfile | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
tags: | | ||
ghcr.io/goover/java:zulu_${{ 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
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH azul/zulu-openjdk:10-latest | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.description="Docker image for Pelican Hosting Panel and Pterodactyl" | ||
LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later | ||
|
||
|
||
RUN apt update -y \ | ||
&& apt -y upgrade | ||
|
||
RUN apt install -y \ | ||
build-essential \ | ||
ca-certificates \ | ||
curl \ | ||
font-manager \ | ||
fontconfig \ | ||
git \ | ||
iproute2 \ | ||
ipset \ | ||
locales \ | ||
lsof \ | ||
openssl \ | ||
sqlite3 \ | ||
tar \ | ||
tzdata \ | ||
libfreetype6 \ | ||
libstdc++6 | ||
|
||
RUN apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
|
||
# 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 | ||
CMD [ "/bin/bash", "/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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH azul/zulu-openjdk:11-latest | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.description="Docker image for Pelican Hosting Panel and Pterodactyl" | ||
LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later | ||
|
||
|
||
RUN apt update -y \ | ||
&& apt -y upgrade | ||
|
||
RUN apt install -y \ | ||
build-essential \ | ||
ca-certificates \ | ||
curl \ | ||
font-manager \ | ||
fontconfig \ | ||
git \ | ||
iproute2 \ | ||
ipset \ | ||
locales \ | ||
lsof \ | ||
openssl \ | ||
sqlite3 \ | ||
tar \ | ||
tzdata \ | ||
libfreetype6 \ | ||
libstdc++6 | ||
|
||
RUN apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
|
||
# 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 | ||
CMD [ "/bin/bash", "/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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH azul/zulu-openjdk:12-latest | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.description="Docker image for Pelican Hosting Panel and Pterodactyl" | ||
LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later | ||
|
||
|
||
RUN apt update -y \ | ||
&& apt -y upgrade | ||
|
||
RUN apt install -y \ | ||
build-essential \ | ||
ca-certificates \ | ||
curl \ | ||
font-manager \ | ||
fontconfig \ | ||
git \ | ||
iproute2 \ | ||
ipset \ | ||
locales \ | ||
lsof \ | ||
openssl \ | ||
sqlite3 \ | ||
tar \ | ||
tzdata \ | ||
libfreetype6 \ | ||
libstdc++6 | ||
|
||
RUN apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
|
||
# 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 | ||
CMD [ "/bin/bash", "/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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH azul/zulu-openjdk:13-latest | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.description="Docker image for Pelican Hosting Panel and Pterodactyl" | ||
LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later | ||
|
||
|
||
RUN apt update -y \ | ||
&& apt -y upgrade | ||
|
||
RUN apt install -y \ | ||
build-essential \ | ||
ca-certificates \ | ||
curl \ | ||
font-manager \ | ||
fontconfig \ | ||
git \ | ||
iproute2 \ | ||
ipset \ | ||
locales \ | ||
lsof \ | ||
openssl \ | ||
sqlite3 \ | ||
tar \ | ||
tzdata \ | ||
libfreetype6 \ | ||
libstdc++6 | ||
|
||
RUN apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
|
||
# 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 | ||
CMD [ "/bin/bash", "/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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH azul/zulu-openjdk:14-latest | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.description="Docker image for Pelican Hosting Panel and Pterodactyl" | ||
LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later | ||
|
||
|
||
RUN apt update -y \ | ||
&& apt -y upgrade | ||
|
||
RUN apt install -y \ | ||
build-essential \ | ||
ca-certificates \ | ||
curl \ | ||
font-manager \ | ||
fontconfig \ | ||
git \ | ||
iproute2 \ | ||
ipset \ | ||
locales \ | ||
lsof \ | ||
openssl \ | ||
sqlite3 \ | ||
tar \ | ||
tzdata \ | ||
libfreetype6 \ | ||
libstdc++6 | ||
|
||
RUN apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
|
||
# 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 | ||
CMD [ "/bin/bash", "/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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH azul/zulu-openjdk:15-latest | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.description="Docker image for Pelican Hosting Panel and Pterodactyl" | ||
LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later | ||
|
||
|
||
RUN apt update -y \ | ||
&& apt -y upgrade | ||
|
||
RUN apt install -y \ | ||
build-essential \ | ||
ca-certificates \ | ||
curl \ | ||
font-manager \ | ||
fontconfig \ | ||
git \ | ||
iproute2 \ | ||
ipset \ | ||
locales \ | ||
lsof \ | ||
openssl \ | ||
sqlite3 \ | ||
tar \ | ||
tzdata \ | ||
libfreetype6 \ | ||
libstdc++6 | ||
|
||
RUN apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
|
||
# 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 | ||
CMD [ "/bin/bash", "/entrypoint.sh" ] |
Oops, something went wrong.