Skip to content

Commit

Permalink
feat: add java graalvm 22
Browse files Browse the repository at this point in the history
  • Loading branch information
trenutoo committed May 23, 2024
1 parent 89575b0 commit 4932523
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/java-graalvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- 11
- 17
- 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 @@ -106,6 +106,8 @@ Navigate to `Admin Panel -> Nests -> Select your egg`. Add Docker image URL(s) f
- `ghcr.io/software-noob/pterodactyl-images:java_17_graalvm`
- [Java 21 GraalVM JDK](https://github.com/Software-Noob/pterodactyl-images/tree/main/java-graalvm/21)
- `ghcr.io/software-noob/pterodactyl-images:java_21_graalvm`
- [Java 22 GraalVM JDK](https://github.com/Software-Noob/pterodactyl-images/tree/main/java-graalvm/22)
- `ghcr.io/software-noob/pterodactyl-images:java_22_graalvm`

### Java Liberica [AMD64/ARM64]

Expand Down
21 changes: 21 additions & 0 deletions java-graalvm/22/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM ghcr.io/graalvm/jdk-community:22-ol8

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 microdnf update \
&& microdnf install -y curl ca-certificates openssl git tar sqlite fontconfig tzdata iproute gcc gcc-c++ freetype libstdc++ lsof \
&& microdnf clean all \
&& adduser --home-dir /home/container container

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 4932523

Please sign in to comment.