Skip to content

Commit

Permalink
Add Java 23
Browse files Browse the repository at this point in the history
Add missing Java 22 entry in readme
  • Loading branch information
danny6167 committed Dec 10, 2024
1 parent 0e6b887 commit 16b2968
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- 19
- 21
- 22
- 23
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ is tagged correctly.
* `ghcr.io/ptero-eggs/yolks:java_19`
* [`java21`](/java/21)
* `ghcr.io/ptero-eggs/yolks:java_21`
* [`java22`](/java/22)
* `ghcr.io/ptero-eggs/yolks:java_22`
* [`java23`](/java/23)
* `ghcr.io/ptero-eggs/yolks:java_23`

### [MariaDB](/mariadb)

Expand Down
36 changes: 36 additions & 0 deletions java/23/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:23-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

## 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"]

0 comments on commit 16b2968

Please sign in to comment.