Skip to content

Commit ed63ba3

Browse files
authored
Run Teku and Besu with JRE 25 (#2403)
1 parent d6a4c0d commit ed63ba3

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

besu/Dockerfile.source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ EOF
3333

3434

3535
# Pull all binaries into a second stage deploy Ubuntu container
36-
FROM eclipse-temurin:21-jre-noble
36+
FROM eclipse-temurin:25-jre-noble
3737

3838
RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y --no-install-recommends \
3939
ca-certificates \

teku/Dockerfile.binary

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,17 @@ USER root
1515

1616
RUN groupmod -g "${UID}" ${USER} && usermod -u "${UID}" -g "${UID}" ${USER}
1717

18-
RUN set -eux; \
19-
apt-get update; \
20-
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y --no-install-recommends gosu ca-certificates tzdata git git-lfs libjemalloc-dev; \
21-
rm -rf /var/lib/apt/lists/*; \
22-
# verify that the binary works
23-
gosu nobody true
18+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y --no-install-recommends \
19+
ca-certificates \
20+
tzdata \
21+
git \
22+
git-lfs \
23+
libjemalloc-dev \
24+
curl \
25+
gosu \
26+
&& gosu nobody true \
27+
&& apt-get clean \
28+
&& rm -rf /var/lib/apt/lists/*
2429

2530
# Create data mount point with permissions
2631
RUN mkdir -p /var/lib/teku/validator-keys && mkdir -p /var/lib/teku/validator-passwords && mkdir -p /var/lib/teku/ee-secret && chown -R ${USER}:${USER} /var/lib/teku && chmod -R 700 /var/lib/teku && chmod 777 /var/lib/teku/ee-secret

teku/Dockerfile.source

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ EOF
3333

3434

3535
# Pull all binaries into a second stage deploy Ubuntu container
36-
FROM eclipse-temurin:21-jre-noble
36+
FROM eclipse-temurin:25-jre-noble
3737

3838

3939
RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y --no-install-recommends \
@@ -43,6 +43,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install
4343
git-lfs \
4444
adduser \
4545
libjemalloc-dev \
46+
curl \
4647
gosu \
4748
&& gosu nobody true \
4849
&& apt-get clean \

0 commit comments

Comments
 (0)