Skip to content

Commit

Permalink
Support Nethermind 1.27 (eth-educators#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored Jun 11, 2024
1 parent 5c59cd7 commit d951eca
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions nethermind/Dockerfile.binary
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ ARG UID=10001
# GID 10002 is deliberate so it can exchange secret with CL
ARG GID=10002

RUN set -eux; \
apt-get update; \
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y ca-certificates gosu tzdata wget git adduser; \
rm -rf /var/lib/apt/lists/*; \
# verify that the binary works
gosu nobody true

RUN addgroup \
--gid "${GID}" \
"${USER}"
Expand All @@ -27,13 +34,6 @@ RUN adduser \
--ingroup "${USER}" \
"${USER}"

RUN set -eux; \
apt-get update; \
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y ca-certificates gosu tzdata wget git; \
rm -rf /var/lib/apt/lists/*; \
# verify that the binary works
gosu nobody true

# This only goes so far. keystore, logs and nethermind_db are volumes and need to be chown'd in the entrypoint
RUN chown -R ${USER}:${USER} /nethermind
RUN mkdir -p /var/lib/nethermind/ee-secret && chown -R ${USER}:${USER} /var/lib/nethermind \
Expand Down

0 comments on commit d951eca

Please sign in to comment.