Skip to content

Commit ac12d82

Browse files
Merge pull request #3 from PizzabyteLLC/jdk-25
Add JDK 25 images
2 parents 4509b47 + 8306bb5 commit ac12d82

File tree

5 files changed

+139
-1
lines changed

5 files changed

+139
-1
lines changed

.github/workflows/java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
version: [8, 11, 17, 21]
18+
version: [8, 11, 17, 21, 25]
1919
vendor: [temurin, semeru, graalvm]
2020

2121
steps:

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ Currently built versions with their vendors are Eclipse Temurin, IBM Semeru, and
4242
* `ghcr.io/pizzabytellc/images:java_21-semeru`
4343
* [`java21-graalvm`](/java/21/graalvm/Dockerfile)
4444
* `ghcr.io/pizzabytellc/images:java_21-graalvm`
45+
* [`java25`](/java/25/)
46+
* [`java25-temurin`](/java/25/temurin/Dockerfile)
47+
* `ghcr.io/pizzabytellc/images:java_25-temurin`
48+
* [`java25-semeru`](/java/25/semeru/Dockerfile)
49+
* `ghcr.io/pizzabytellc/images:java_25-semeru`
50+
* [`java25-graalvm`](/java/25/graalvm/Dockerfile)
51+
* `ghcr.io/pizzabytellc/images:java_25-graalvm`
4552

4653
### [Installation Images](/installers)
4754

java/25/graalvm/Dockerfile

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:noble
2+
3+
LABEL author="Garrett Summerfield" maintainer="garrett@pizzabyte.net"
4+
5+
LABEL org.opencontainers.image.source="https://github.com/PizzabyteLLC/images"
6+
LABEL org.opencontainers.image.licenses=MIT
7+
8+
ARG TARGETPLATFORM
9+
ARG GRAAL_VERSION=25.0.1
10+
ARG JAVA_VERSION=25
11+
12+
RUN apt update \
13+
&& apt install -y \
14+
curl \
15+
lsof \
16+
ca-certificates \
17+
openssl \
18+
git \
19+
tar \
20+
sqlite3 \
21+
fontconfig \
22+
tzdata \
23+
iproute2 \
24+
libfreetype6 \
25+
tini \
26+
zip \
27+
unzip \
28+
libstdc++6
29+
30+
31+
RUN case ${TARGETPLATFORM} in \
32+
"linux/amd64") ARCH=x64 ;; \
33+
"linux/arm64") ARCH=aarch64 ;; \
34+
esac \
35+
&& 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 \
36+
&& mkdir -p /opt/java/graalvm \
37+
&& cd /opt/java/graalvm \
38+
&& tar -xf /tmp/graalvm.tar.gz --strip-components=1 \
39+
&& export PATH="/opt/java/graalvm/bin:$PATH" \
40+
&& rm -rf /var/lib/apt/lists/* \
41+
&& rm -rf /tmp/graalvm.tar.gz
42+
43+
ENV JAVA_HOME=/opt/java/graalvm
44+
ENV PATH="$PATH:/opt/java/graalvm/bin"
45+
46+
## Setup user and working directory
47+
RUN useradd -m -d /home/container container
48+
USER container
49+
ENV USER=container HOME=/home/container
50+
WORKDIR /home/container
51+
52+
STOPSIGNAL SIGINT
53+
54+
COPY --chown=container:container ./../../entrypoint.sh /entrypoint.sh
55+
RUN chmod +x /entrypoint.sh
56+
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
57+
CMD ["/entrypoint.sh"]

java/25/semeru/Dockerfile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
FROM --platform=$TARGETOS/$TARGETARCH ibm-semeru-runtimes:open-25-jdk
2+
3+
LABEL author="Garrett Summerfield" maintainer="garrett@pizzabyte.net"
4+
5+
LABEL org.opencontainers.image.source="https://github.com/PizzabyteLLC/images"
6+
LABEL org.opencontainers.image.licenses=MIT
7+
8+
RUN apt update -y \
9+
&& apt install -y \
10+
curl \
11+
lsof \
12+
ca-certificates \
13+
openssl \
14+
git \
15+
tar \
16+
sqlite3 \
17+
fontconfig \
18+
tzdata \
19+
iproute2 \
20+
libfreetype6 \
21+
tini \
22+
zip \
23+
unzip \
24+
libstdc++6
25+
26+
## Setup user and working directory
27+
RUN useradd -m -d /home/container -s /bin/bash container
28+
USER container
29+
ENV USER=container HOME=/home/container
30+
WORKDIR /home/container
31+
32+
STOPSIGNAL SIGINT
33+
34+
COPY --chown=container:container ./../../entrypoint.sh /entrypoint.sh
35+
RUN chmod +x /entrypoint.sh
36+
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
37+
CMD ["/entrypoint.sh"]

java/25/temurin/Dockerfile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:25-jdk-noble
2+
3+
LABEL author="Garrett Summerfield" maintainer="garrett@pizzabyte.net"
4+
5+
LABEL org.opencontainers.image.source="https://github.com/PizzabyteLLC/images"
6+
LABEL org.opencontainers.image.licenses=MIT
7+
8+
RUN apt update -y \
9+
&& apt install -y \
10+
curl \
11+
lsof \
12+
ca-certificates \
13+
openssl \
14+
git \
15+
tar \
16+
sqlite3 \
17+
fontconfig \
18+
tzdata \
19+
iproute2 \
20+
libfreetype6 \
21+
tini \
22+
zip \
23+
unzip \
24+
libstdc++6
25+
26+
## Setup user and working directory
27+
RUN useradd -m -d /home/container -s /bin/bash container
28+
USER container
29+
ENV USER=container HOME=/home/container
30+
WORKDIR /home/container
31+
32+
STOPSIGNAL SIGINT
33+
34+
COPY --chown=container:container ./../../entrypoint.sh /entrypoint.sh
35+
RUN chmod +x /entrypoint.sh
36+
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
37+
CMD ["/entrypoint.sh"]

0 commit comments

Comments
 (0)