From 755f7ab632b16e320257e16481c7f86dcd0a71ac Mon Sep 17 00:00:00 2001 From: Stigstille <134349048+Stigstille@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:21:38 -0500 Subject: [PATCH 1/3] Add Java 22 --- java/22/Dockerfile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 java/22/Dockerfile diff --git a/java/22/Dockerfile b/java/22/Dockerfile new file mode 100644 index 000000000..5c4903640 --- /dev/null +++ b/java/22/Dockerfile @@ -0,0 +1,36 @@ +FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:22-jdk-jammy + +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 + +## 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"] From f6b1f925b53a10222ea9def0982099d67152bf48 Mon Sep 17 00:00:00 2001 From: Stigstille <134349048+Stigstille@users.noreply.github.com> Date: Wed, 15 Jan 2025 13:37:09 -0500 Subject: [PATCH 2/3] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ef6f7a398..859c6241a 100644 --- a/README.md +++ b/README.md @@ -184,6 +184,8 @@ is tagged correctly. * `ghcr.io/parkervcp/yolks:java_19` * [`java21`](/java/21) * `ghcr.io/parkervcp/yolks:java_21` +* [`java22`](/java/22) + * `ghcr.io/parkervcp/yolks:java_22` ### [MariaDB](/mariadb) From e8cb0376ecf41de8a7a0ed1477db25393a1553d0 Mon Sep 17 00:00:00 2001 From: Stigstille <134349048+Stigstille@users.noreply.github.com> Date: Mon, 3 Feb 2025 07:32:25 -0500 Subject: [PATCH 3/3] --- .github/workflows/java.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index c7e80caf3..e6e2846bf 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -25,6 +25,7 @@ jobs: - 17 - 19 - 21 + - 22 steps: - uses: actions/checkout@v4 - uses: docker/setup-qemu-action@v3