Skip to content

Commit

Permalink
Nethermind executable names for v1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Sep 14, 2023
1 parent debd090 commit ff9241f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions nethermind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ services:
<<: *logging
entrypoint:
- docker-entrypoint.sh
- dotnet
- /nethermind/Nethermind.Runner.dll
- /nethermind/nethermind
- --datadir
- /var/lib/nethermind
- --Init.WebSocketsEnabled
Expand Down
5 changes: 3 additions & 2 deletions nethermind/Dockerfile.binary
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ RUN set -eux; \

# 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 && chmod -R 700 /var/lib/nethermind && chmod 777 /var/lib/nethermind/ee-secret
RUN mkdir -p /var/lib/nethermind/ee-secret && chown -R ${USER}:${USER} /var/lib/nethermind \
&& chmod -R 700 /var/lib/nethermind && chmod 777 /var/lib/nethermind/ee-secret

# Cannot assume buildkit, hence no chmod
COPY --chown=${USER}:${USER} ./docker-entrypoint.sh /usr/local/bin/
Expand All @@ -45,4 +46,4 @@ RUN chmod -R 755 /usr/local/bin/*

USER ${USER}

ENTRYPOINT ["dotnet","/nethermind/Nethermind.Runner.dll"]
ENTRYPOINT ["./nethermind"]
3 changes: 2 additions & 1 deletion nethermind/Dockerfile.source
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ WORKDIR /nethermind
COPY --from=build --chown=${USER}:${USER} /nethermind/out .

RUN chown -R ${USER}:${USER} /nethermind
RUN mkdir -p /var/lib/nethermind/ee-secret && chown -R ${USER}:${USER} /var/lib/nethermind && chmod -R 700 /var/lib/nethermind && chmod 777 /var/lib/nethermind/ee-secret
RUN mkdir -p /var/lib/nethermind/ee-secret && chown -R ${USER}:${USER} /var/lib/nethermind \
&& chmod -R 700 /var/lib/nethermind && chmod 777 /var/lib/nethermind/ee-secret

# Cannot assume buildkit, hence no chmod
COPY --chown=${USER}:${USER} ./docker-entrypoint.sh /usr/local/bin/
Expand Down

0 comments on commit ff9241f

Please sign in to comment.