Skip to content

Commit

Permalink
feat: add java 22
Browse files Browse the repository at this point in the history
  • Loading branch information
trenutoo committed Mar 31, 2024
1 parent d1ddbd8 commit e9772e5
Show file tree
Hide file tree
Showing 3 changed files with 26 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 @@ -33,6 +33,7 @@ jobs:
- 19
- 20
- 21
- 22
steps:
- name: Git checkout for Github repository workspace
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ Navigate to `Admin Panel -> Nests -> Select your egg`. Add Docker image URL(s) f
- `ghcr.io/software-noob/pterodactyl-images:java_20`
- [Java 21](https://github.com/Software-Noob/pterodactyl-images/tree/main/java/21)
- `ghcr.io/software-noob/pterodactyl-images:java_21`
- [Java 22](https://github.com/Software-Noob/pterodactyl-images/tree/main/java/22)
- `ghcr.io/software-noob/pterodactyl-images:java_22`

### Java GraalVM [AMD64/ARM64]

Expand Down
23 changes: 23 additions & 0 deletions java/22/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM eclipse-temurin:22-jammy

LABEL author="Softwarenoob" maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/Software-Noob/pterodactyl-images"
LABEL org.opencontainers.image.licenses="MIT"

RUN apt-get update -y \
&& apt-get install -y --no-install-recommends curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 libstdc++6 lsof build-essential tzdata iproute2 locales \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& useradd -m -d /home/container container \
&& locale-gen en_US.UTF-8

ENV LC_ALL=en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]

0 comments on commit e9772e5

Please sign in to comment.