Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lodestar/Dockerfile.binary
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FROM ${DOCKER_REPO}:${DOCKER_TAG}
ARG BUILD_TARGET
ARG SRC_REPO

RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates tzdata bash gosu git git-lfs wget \
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates tzdata bash gosu git git-lfs \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

ARG USER=lsconsensus
Expand Down
2 changes: 1 addition & 1 deletion lodestar/Dockerfile.source
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ EOF

FROM node:24-slim

RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates tzdata bash gosu git git-lfs wget \
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates tzdata bash gosu git git-lfs \
&& gosu nobody true && apt-get clean && rm -rf /var/lib/apt/lists/*

ARG USER=lsconsensus
Expand Down
8 changes: 0 additions & 8 deletions lodestar/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,6 @@ fi
if [[ "${IPV6}" = "true" ]]; then
echo "Configuring Lodestar to listen on IPv6 ports"
__ipv6="--listenAddress 0.0.0.0 --listenAddress6 :: --port6 ${CL_P2P_PORT:-9000}"
# ENR discovery on v6 is not yet working, likely too few peers. Manual for now
ipv6_pattern="^[0-9A-Fa-f]{1,4}:" # Sufficient to check the start
set +e
public_v6=$(wget -6 -q -O- ifconfig.me)
set -e
if [[ "${public_v6}" =~ ${ipv6_pattern} ]]; then
__ipv6+=" --enr.ip6 ${public_v6}"
fi
else
__ipv6="--listenAddress 0.0.0.0"
fi
Expand Down