mirror of https://github.com/lnbook/lnbook
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
514 B
Docker
16 lines
514 B
Docker
FROM ubuntu:18.04 AS bitcoind-base
|
|
|
|
ENV BITCOIND_VERSION 0.20.0
|
|
|
|
# Install binaries for Bitcoin Core
|
|
ADD https://bitcoincore.org/bin/bitcoin-core-${BITCOIND_VERSION}/bitcoin-${BITCOIND_VERSION}-x86_64-linux-gnu.tar.gz /usr/local
|
|
RUN cd /usr/local/ \
|
|
&& tar -zxf bitcoin-${BITCOIND_VERSION}-x86_64-linux-gnu.tar.gz \
|
|
&& cd bitcoin-${BITCOIND_VERSION} \
|
|
&& install bin/* /usr/local/bin \
|
|
&& install include/* /usr/local/include \
|
|
&& install -v lib/* /usr/local/lib
|
|
|
|
# Confirm installation
|
|
RUN bitcoind -version
|