2017-04-27 20:09:12 +02:00
|
|
|
FROM ubuntu:16.04
|
2017-10-31 12:27:13 +01:00
|
|
|
MAINTAINER Christian Decker <decker.christian@gmail.com>
|
2017-04-27 20:09:12 +02:00
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
WORKDIR /build
|
|
|
|
|
|
|
|
RUN apt-get -qq update && \
|
2017-10-31 12:27:13 +01:00
|
|
|
apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
|
|
|
|
autoconf \
|
|
|
|
automake \
|
|
|
|
eatmydata \
|
2017-04-27 20:09:12 +02:00
|
|
|
software-properties-common \
|
|
|
|
build-essential \
|
|
|
|
autoconf \
|
|
|
|
libtool \
|
|
|
|
libprotobuf-c-dev \
|
|
|
|
libsqlite3-dev \
|
|
|
|
libgmp-dev \
|
|
|
|
libsqlite3-dev \
|
|
|
|
git \
|
|
|
|
python \
|
|
|
|
python3 \
|
|
|
|
valgrind \
|
|
|
|
net-tools \
|
|
|
|
python3-pip \
|
2017-10-31 12:27:13 +01:00
|
|
|
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
|
2017-04-27 20:09:12 +02:00
|
|
|
|
|
|
|
RUN pip3 install python-bitcoinlib==0.7.0
|