From e3f3986a27113c0a9e38ae614a05c60e18ddd8a8 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Mon, 13 Apr 2020 19:43:33 +0700 Subject: [PATCH] Add build arg for Electrum version --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e48d571..f0d4eb5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM python:3.7-slim-buster +ARG ELECTRUM_VERSION=3.3.8 + RUN apt-get update RUN apt-get install -y git @@ -7,7 +9,7 @@ RUN git clone git://github.com/spesmilo/electrum.git WORKDIR electrum -RUN git checkout 3.3.8 +RUN git checkout $ELECTRUM_VERSION RUN git submodule update --init RUN apt-get install -y libsecp256k1-0 RUN python3 -m pip install --user . cryptography