Skip to content

Commit de6520c

Browse files
committed
Update Docker base image to Ubuntu 24.04
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
1 parent 8c04d0a commit de6520c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docker/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
FROM ubuntu:23.10
1+
FROM ubuntu:24.04
32
ARG VERSION="dev"
43
ENV NO_PROXY_CACHE="-o Acquire::BrokenProxy=true -o Acquire::http::No-Cache=true -o Acquire::http::Pipeline-Depth=0"
54

@@ -12,7 +11,7 @@ RUN apt-get update $NO_PROXY_CACHE && \
1211
apt-get clean && \
1312
rm -rf /var/cache/apt/archives/* /var/cache/apt/archives/partial/* && \
1413
rm -rf /var/lib/apt/lists/* && \
15-
# Ubuntu 23.10 comes with an "ubuntu" user with uid 1000. We need 1000 for besu.
14+
# Starting from version 23.10, Ubuntu comes with an "ubuntu" user with uid 1000. We need 1000 for besu.
1615
userdel ubuntu 2>/dev/null || true && rm -rf /home/ubuntu && \
1716
# Ensure we use a stable UID for besu, as file permissions are tied to UIDs.
1817
adduser --uid 1000 --disabled-password --gecos "" --home /opt/besu besu && \

0 commit comments

Comments
 (0)