Skip to content

Commit

Permalink
Build Teku and Besu on Noble Numbat (#1901)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored Aug 11, 2024
1 parent af7a450 commit 292f698
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions besu/Dockerfile.source
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build Besu in a stock Ubuntu container
FROM eclipse-temurin:21-jdk-jammy AS builder
FROM eclipse-temurin:21-jdk-noble AS builder

# This is here to avoid build-time complaints
ARG DOCKER_TAG
Expand All @@ -14,7 +14,7 @@ WORKDIR /usr/src
RUN bash -c "git clone --recurse-submodules -j8 ${SRC_REPO} besu && cd besu && git config advice.detachedHead false && git fetch --all --tags && if [[ ${BUILD_TARGET} =~ pr-.+ ]]; then git fetch origin pull/$(echo ${BUILD_TARGET} | cut -d '-' -f 2)/head:besu-pr; git checkout besu-pr; else git checkout ${BUILD_TARGET}; fi && ./gradlew installDist"

# Pull all binaries into a second stage deploy Ubuntu container
FROM eclipse-temurin:21-jre-jammy
FROM eclipse-temurin:21-jre-noble

ARG USER=besu
ARG UID=10001
Expand All @@ -28,6 +28,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install
libjemalloc-dev \
git \
wget \
adduser \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand Down
2 changes: 1 addition & 1 deletion default.env
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ DEPCLI_SRC_REPO=https://github.com/ethereum/staking-deposit-cli
DEPCLI_DOCKER_TAG=nonesuch

# traefik and ddns-updater
TRAEFIK_TAG=v3.0
TRAEFIK_TAG=v3.1
DDNS_TAG=v2

# For the Node Dashboard, define a regex of mount points to ignore for the diskspace check.
Expand Down
5 changes: 3 additions & 2 deletions teku/Dockerfile.source
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build Teku in a stock Ubuntu container
FROM eclipse-temurin:21-jdk-jammy AS builder
FROM eclipse-temurin:21-jdk-noble AS builder

# This is here to avoid build-time complaints
ARG DOCKER_TAG
Expand All @@ -21,7 +21,7 @@ RUN bash -c "git clone ${SRC_REPO} teku \
&& ./gradlew installDist"

# Pull all binaries into a second stage deploy Ubuntu container
FROM eclipse-temurin:21-jre-jammy
FROM eclipse-temurin:21-jre-noble

ARG USER=teku
ARG UID=10002
Expand All @@ -30,6 +30,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install
ca-certificates \
tzdata \
git \
adduser \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 292f698

Please sign in to comment.