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
|
2019-12-20 15:01:11 +01:00
|
|
|
ENV BITCOIN_VERSION 0.18.1
|
2018-04-27 15:05:38 +02:00
|
|
|
|
2017-04-27 20:09:12 +02:00
|
|
|
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 \
|
2017-12-10 14:30:27 +01:00
|
|
|
clang \
|
2018-03-27 23:06:25 +02:00
|
|
|
cppcheck \
|
2018-09-09 22:33:57 +02:00
|
|
|
docbook-xml \
|
2018-04-03 18:42:09 +02:00
|
|
|
shellcheck \
|
2017-10-31 12:27:13 +01:00
|
|
|
eatmydata \
|
2017-04-27 20:09:12 +02:00
|
|
|
software-properties-common \
|
|
|
|
build-essential \
|
|
|
|
autoconf \
|
2018-04-27 15:05:38 +02:00
|
|
|
locales \
|
2017-04-27 20:09:12 +02:00
|
|
|
libtool \
|
|
|
|
libprotobuf-c-dev \
|
|
|
|
libsqlite3-dev \
|
|
|
|
libgmp-dev \
|
|
|
|
git \
|
|
|
|
python3 \
|
|
|
|
valgrind \
|
|
|
|
net-tools \
|
2019-08-15 11:47:38 +02:00
|
|
|
python3-mako \
|
2017-04-27 20:09:12 +02:00
|
|
|
python3-pip \
|
2017-12-21 13:20:49 +01:00
|
|
|
python3-setuptools \
|
2017-11-09 14:42:03 +01:00
|
|
|
python-pkg-resources \
|
2018-04-04 14:30:44 +02:00
|
|
|
shellcheck \
|
2018-07-04 13:25:53 +02:00
|
|
|
libxml2-utils \
|
2018-06-04 06:28:02 +02:00
|
|
|
wget \
|
2019-10-18 08:43:10 +02:00
|
|
|
gettext \
|
2018-09-09 22:33:57 +02:00
|
|
|
xsltproc \
|
2018-06-04 06:28:02 +02:00
|
|
|
zlib1g-dev && \
|
2017-10-31 12:27:13 +01:00
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2018-04-27 15:05:38 +02:00
|
|
|
ENV LANGUAGE=en_US.UTF-8
|
|
|
|
ENV LANG=en_US.UTF-8
|
|
|
|
ENV LC_ALL=en_US.UTF-8
|
|
|
|
RUN locale-gen en_US.UTF-8 && dpkg-reconfigure locales
|
|
|
|
|
2017-10-31 12:27:13 +01:00
|
|
|
RUN cd /tmp/ && \
|
2018-02-28 12:03:14 +01:00
|
|
|
wget https://bitcoin.org/bin/bitcoin-core-$BITCOIN_VERSION/bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.gz -O bitcoin.tar.gz && \
|
2017-10-31 12:27:13 +01:00
|
|
|
tar -xvzf bitcoin.tar.gz && \
|
2018-02-28 12:03:14 +01:00
|
|
|
mv /tmp/bitcoin-$BITCOIN_VERSION/bin/bitcoin* /usr/local/bin/ && \
|
|
|
|
rm -rf bitcoin.tar.gz /tmp/bitcoin-$BITCOIN_VERSION
|
2017-04-27 20:09:12 +02:00
|
|
|
|
2018-02-23 22:49:05 +01:00
|
|
|
RUN pip3 install --upgrade pip && \
|
2018-11-23 11:11:13 +01:00
|
|
|
python3 -m pip install \
|
|
|
|
CherryPy==17.3.0 \
|
|
|
|
Flask==1.0.2 \
|
2019-12-19 11:30:20 +01:00
|
|
|
cheroot==8.2.1 \
|
2018-11-23 11:11:13 +01:00
|
|
|
ephemeral-port-reserve==1.1.0 \
|
|
|
|
flaky==3.4.0 \
|
|
|
|
pytest-benchmark==3.1.1 \
|
|
|
|
pytest-forked==0.2 \
|
|
|
|
pytest-timeout==1.3.3 \
|
|
|
|
pytest-xdist==1.22.2 \
|
|
|
|
pytest==3.8.1 \
|
2019-12-19 11:30:20 +01:00
|
|
|
python-bitcoinlib==0.10.2 \
|
2018-11-23 11:11:13 +01:00
|
|
|
tqdm==4.26.0 \
|
|
|
|
pytest-test-groups==1.0.3 \
|
|
|
|
flake8==3.5.0 \
|
2020-04-17 23:55:29 +02:00
|
|
|
pytest-rerunfailures==3.1 \
|
|
|
|
mrkd==0.1.6
|