Browse Source

add bitcoin-cli

Fabian Peter Hammerle 3 years ago
parent
commit
ae666c4e1c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Dockerfile

+ 3 - 1
Dockerfile

@@ -5,7 +5,9 @@ ENV DATA_DIR_PATH=/var/lib/bitcoin
 ARG BITCOIN_CORE_PACKAGE_VERSION=0.19.1-r0
 # > Executing bitcoin-0.19.1-r0.post-install
 # > Generated random user / password / port in: /etc/bitcoin.conf
-RUN apk add --no-cache bitcoin=$BITCOIN_CORE_PACKAGE_VERSION \
+RUN apk add --no-cache \
+        bitcoin=$BITCOIN_CORE_PACKAGE_VERSION \
+        bitcoin-cli=$BITCOIN_CORE_PACKAGE_VERSION \
     && rm /etc/bitcoin.conf \
     && mkdir "$DATA_DIR_PATH" \
     && chown -c bitcoin "$DATA_DIR_PATH"