-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
60 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ jobs: | |
- 17-JDK | ||
- 20-JDK | ||
- 21-JDK | ||
- 22-JDK | ||
- 11-EE | ||
- 17-EE | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
FROM ubuntu:22.04 | ||
|
||
ARG TARGETPLATFORM | ||
ARG GRAAL_VERSION=17.0.8 | ||
ARG GRAAL_VERSION=17.0.9 | ||
ARG JAVA_VERSION=17 | ||
|
||
MAINTAINER RikoDEV, <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,10 @@ | |
# Environment: Java | ||
# Minimum Panel Version: 1.7.0 | ||
# ---------------------------------- | ||
FROM ubuntu:22.04 | ||
FROM ubuntu:24.04 | ||
|
||
ARG TARGETPLATFORM | ||
ARG GRAAL_VERSION=21.0.0 | ||
ARG GRAAL_VERSION=21.0.2 | ||
ARG JAVA_VERSION=21 | ||
|
||
MAINTAINER RikoDEV, <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# ---------------------------------- | ||
# Pterodactyl Core Dockerfile | ||
# Environment: Java | ||
# Minimum Panel Version: 1.7.0 | ||
# ---------------------------------- | ||
FROM ubuntu:22.04 | ||
|
||
ARG TARGETPLATFORM | ||
ARG GRAAL_VERSION=21.0.0 | ||
ARG JAVA_VERSION=21 | ||
|
||
MAINTAINER RikoDEV, <[email protected]> | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Default to UTF-8 file.encoding | ||
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get install -y curl ca-certificates openssl git tar sqlite3 fontconfig tzdata locales iproute2 \ | ||
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ | ||
&& locale-gen en_US.UTF-8 \ | ||
&& case ${TARGETPLATFORM} in \ | ||
"linux/amd64") ARCH=x64 ;; \ | ||
"linux/arm64") ARCH=aarch64 ;; \ | ||
esac \ | ||
&& curl --retry 3 -Lfso /tmp/graalvm.tar.gz https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-${GRAAL_VERSION}/graalvm-community-jdk-${GRAAL_VERSION}_linux-${ARCH}_bin.tar.gz \ | ||
&& mkdir -p /opt/java/graalvm \ | ||
&& cd /opt/java/graalvm \ | ||
&& tar -xf /tmp/graalvm.tar.gz --strip-components=1 \ | ||
&& export PATH="/opt/java/graalvm/bin:$PATH" \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& rm -rf /tmp/graalvm.tar.gz | ||
|
||
ENV JAVA_HOME=/opt/java/graalvm \ | ||
PATH="/opt/java/graalvm/bin:$PATH" | ||
|
||
# Step 2 - add pterodactyl stuff | ||
RUN useradd -d /home/container -m container | ||
|
||
USER container | ||
ENV USER=container HOME=/home/container | ||
|
||
WORKDIR /home/container | ||
|
||
COPY ./../entrypoint.sh /entrypoint.sh | ||
|
||
CMD ["/bin/bash", "/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters