Skip to content

Commit

Permalink
Merge pull request #164 from Samourai-Wallet/feat_mydojo_whirlpool_up…
Browse files Browse the repository at this point in the history
…grade

upgrade whirlpool to whirlpool-cli  0.10.6
  • Loading branch information
kenshin-samourai authored Jun 18, 2020
2 parents 0362e2e + e6db626 commit 71fab6a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docker/my-dojo/whirlpool/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,16 @@ RUN set -ex && \
rm "tor-$WHIRLPOOL_TOR_VERSION.tar.gz.asc"

# Install whirlpool-cli
ENV WHIRLPOOL_URL https://github.com/Samourai-Wallet/whirlpool-client-cli/releases/download
ENV WHIRLPOOL_VERSION 0.10.5
ENV WHIRLPOOL_URL https://code.samourai.io/whirlpool/whirlpool-client-cli/uploads
ENV WHIRLPOOL_VERSION 0.10.6
ENV WHIRLPOOL_VERSION_HASH a05b443bf9d266702327c99fd8bad5da
ENV WHIRLPOOL_JAR "whirlpool-client-cli-$WHIRLPOOL_VERSION-run.jar"
ENV WHIRLPOOL_SHA256 94da0b3dc3da1a6292d7ffe74c0cba324a8b553437e66898e86312051ee1b84f
ENV WHIRLPOOL_SHA256 eb07ef5637c2bb52b1be57b62941120a689b0c02600c38dbda3b8dd701d03cc8

RUN set -ex && \
cd "$WHIRLPOOL_DIR" && \
echo "$WHIRLPOOL_SHA256 *$WHIRLPOOL_JAR" > WHIRLPOOL_CHECKSUMS && \
wget -qO "$WHIRLPOOL_JAR" "$WHIRLPOOL_URL/$WHIRLPOOL_VERSION/$WHIRLPOOL_JAR" && \
wget -qO "$WHIRLPOOL_JAR" "$WHIRLPOOL_URL/$WHIRLPOOL_VERSION_HASH/$WHIRLPOOL_JAR" && \
sha256sum -c WHIRLPOOL_CHECKSUMS 2>&1 | grep OK && \
mv "$WHIRLPOOL_JAR" whirlpool-client-cli-run.jar && \
chown -Rv whirlpool:whirlpool "$WHIRLPOOL_DIR" && \
Expand Down

0 comments on commit 71fab6a

Please sign in to comment.