mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
contrib: Updated dockerfile to use bitcoind v0.15.1
This was causing intermittent `rawtransactiondecode` errors see ElementsProject/lightning#332 Reported-by: @achow101 Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
c2a0c51c30
commit
847df2eb1d
2 changed files with 44 additions and 35 deletions
|
@ -1,12 +1,14 @@
|
||||||
FROM ubuntu:16.04
|
FROM ubuntu:16.04
|
||||||
|
MAINTAINER Christian Decker <decker.christian@gmail.com>
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
RUN echo "deb http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/bitcoin.list
|
|
||||||
RUN apt-get -qq update && \
|
RUN apt-get -qq update && \
|
||||||
apt-get -qq install --allow-unauthenticated -yy \
|
apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
|
||||||
eatmydata \
|
autoconf \
|
||||||
|
automake \
|
||||||
|
eatmydata \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
build-essential \
|
build-essential \
|
||||||
autoconf \
|
autoconf \
|
||||||
|
@ -20,8 +22,14 @@ RUN apt-get -qq update && \
|
||||||
python3 \
|
python3 \
|
||||||
valgrind \
|
valgrind \
|
||||||
net-tools \
|
net-tools \
|
||||||
bitcoind \
|
|
||||||
python3-pip \
|
python3-pip \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
wget && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN cd /tmp/ && \
|
||||||
|
wget https://bitcoin.org/bin/bitcoin-core-0.15.0.1/bitcoin-0.15.0.1-x86_64-linux-gnu.tar.gz -O bitcoin.tar.gz && \
|
||||||
|
tar -xvzf bitcoin.tar.gz && \
|
||||||
|
mv /tmp/bitcoin-0.15.0/bin/bitcoin* /usr/local/bin/ && \
|
||||||
|
rm -rf bitcoin.tar.gz /tmp/bitcoin-0.15.0
|
||||||
|
|
||||||
RUN pip3 install python-bitcoinlib==0.7.0
|
RUN pip3 install python-bitcoinlib==0.7.0
|
||||||
|
|
|
@ -1,34 +1,35 @@
|
||||||
FROM i386/ubuntu:16.04
|
FROM i386/ubuntu:16.04
|
||||||
MAINTAINER Christian Decker <decker.christian@gmail.com>
|
MAINTAINER Christian Decker <decker.christian@gmail.com>
|
||||||
|
|
||||||
RUN echo deb http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu xenial main > /etc/apt/sources.list.d/bitcoin-bitcoin-xenial.list
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
RUN apt-get update -qq
|
|
||||||
RUN apt-get install -qq -y --no-install-recommends --allow-unauthenticated \
|
|
||||||
asciidoc \
|
|
||||||
curl \
|
|
||||||
git \
|
|
||||||
make \
|
|
||||||
automake \
|
|
||||||
autoconf \
|
|
||||||
libtool \
|
|
||||||
bitcoind \
|
|
||||||
build-essential \
|
|
||||||
libprotobuf-c-dev \
|
|
||||||
libsodium-dev \
|
|
||||||
libbase58-dev \
|
|
||||||
libsqlite3-dev \
|
|
||||||
libgmp-dev \
|
|
||||||
libsqlite3-dev \
|
|
||||||
git \
|
|
||||||
net-tools \
|
|
||||||
valgrind \
|
|
||||||
ca-certificates \
|
|
||||||
python \
|
|
||||||
python3 \
|
|
||||||
python3-pip \
|
|
||||||
python3-setuptools \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
RUN pip3 install python-bitcoinlib==0.7.
|
|
||||||
RUN mkdir /build
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
|
RUN apt-get -qq update && \
|
||||||
|
apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
|
||||||
|
autoconf \
|
||||||
|
automake \
|
||||||
|
eatmydata \
|
||||||
|
software-properties-common \
|
||||||
|
build-essential \
|
||||||
|
autoconf \
|
||||||
|
libtool \
|
||||||
|
libprotobuf-c-dev \
|
||||||
|
libsqlite3-dev \
|
||||||
|
libgmp-dev \
|
||||||
|
libsqlite3-dev \
|
||||||
|
git \
|
||||||
|
python \
|
||||||
|
python3 \
|
||||||
|
valgrind \
|
||||||
|
net-tools \
|
||||||
|
python3-pip \
|
||||||
|
wget && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN cd /tmp/ && \
|
||||||
|
wget https://bitcoin.org/bin/bitcoin-core-0.15.0.1/bitcoin-0.15.0.1-i686-pc-linux-gnu.tar.gz -O bitcoin.tar.gz && \
|
||||||
|
tar -xvzf bitcoin.tar.gz && \
|
||||||
|
mv /tmp/bitcoin-0.15.0/bin/bitcoin* /usr/local/bin/ && \
|
||||||
|
rm -rf bitcoin.tar.gz /tmp/bitcoin-0.15.0
|
||||||
|
|
||||||
|
RUN pip3 install python-bitcoinlib==0.7.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue