Skip to content

Commit

Permalink
feat: add java liberica 22
Browse files Browse the repository at this point in the history
  • Loading branch information
trenutoo committed May 23, 2024
1 parent 7948bda commit 89575b0
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-liberica.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 @@ -117,6 +117,8 @@ Navigate to `Admin Panel -> Nests -> Select your egg`. Add Docker image URL(s) f
- `ghcr.io/software-noob/pterodactyl-images:java_17_liberica`
- [Java 21 Liberica](https://github.com/Software-Noob/pterodactyl-images/tree/main/java-liberica/21)
- `ghcr.io/software-noob/pterodactyl-images:java_21_liberica`
- [Java 22 Liberica](https://github.com/Software-Noob/pterodactyl-images/tree/main/java-liberica/22)
- `ghcr.io/software-noob/pterodactyl-images:java_22_liberica`

### Java OpenJ9 [AMD64]

Expand Down
23 changes: 23 additions & 0 deletions java-liberica/22/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM bellsoft/liberica-openjdk-debian:22

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 89575b0

Please sign in to comment.