Skip to content

Commit

Permalink
feat: add ibm openj9 java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
trenutoo committed Feb 3, 2024
1 parent ec89299 commit fb819a9
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-openj9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- 17
- 18
- 20
- 21
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 @@ -126,6 +126,8 @@ Navigate to `Admin Panel -> Nests -> Select your egg`. Add Docker image URL(s) f
- `ghcr.io/software-noob/pterodactyl-images:java_18_openj9`
- [Java 20 OpenJ9](https://github.com/Software-Noob/pterodactyl-images/tree/main/java-openj9/20)
- `ghcr.io/software-noob/pterodactyl-images:java_20_openj9`
- [Java 21 OpenJ9](https://github.com/Software-Noob/pterodactyl-images/tree/main/java-openj9/21)
- `ghcr.io/software-noob/pterodactyl-images:java_21_openj9`

### Java Shenandoah Nightly [AMD64/ARM64]

Expand Down
23 changes: 23 additions & 0 deletions java-openj9/21/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM ibm-semeru-runtimes:open-21-jdk

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 fb819a9

Please sign in to comment.