Skip to content

Commit

Permalink
Install curl on build
Browse files Browse the repository at this point in the history
  • Loading branch information
dappnodedev committed Oct 9, 2023
1 parent 353da9d commit fd146d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG UPSTREAM_VERSION
FROM nethermind/nethermind:${UPSTREAM_VERSION}

RUN apt-get update && apt-get install -y curl

COPY /security /security
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
Expand Down
3 changes: 0 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ case "$_DAPPNODE_GLOBAL_CONSENSUS_CLIENT_MAINNET" in
;;
esac

apt update
apt install -y curl

# Print the jwt to the dappmanager
JWT=$(cat $JWT_PATH)
curl -X POST "http://my.dappnode/data-send?key=jwt&data=${JWT}"
Expand Down

0 comments on commit fd146d0

Please sign in to comment.