forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.builder
70 lines (64 loc) · 1.54 KB
/
Dockerfile.builder
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
FROM ubuntu:16.04
MAINTAINER Christian Decker <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
ENV BITCOIN_VERSION 0.18.1
WORKDIR /build
RUN apt-get -qq update && \
apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
autoconf \
automake \
clang \
cppcheck \
docbook-xml \
shellcheck \
eatmydata \
software-properties-common \
build-essential \
autoconf \
locales \
libtool \
libprotobuf-c-dev \
libsqlite3-dev \
libgmp-dev \
git \
python3 \
valgrind \
net-tools \
python3-mako \
python3-pip \
python3-setuptools \
python-pkg-resources \
shellcheck \
libxml2-utils \
wget \
gettext \
xsltproc \
zlib1g-dev && \
rm -rf /var/lib/apt/lists/*
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
RUN cd /tmp/ && \
wget https://bitcoin.org/bin/bitcoin-core-$BITCOIN_VERSION/bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.gz -O bitcoin.tar.gz && \
tar -xvzf bitcoin.tar.gz && \
mv /tmp/bitcoin-$BITCOIN_VERSION/bin/bitcoin* /usr/local/bin/ && \
rm -rf bitcoin.tar.gz /tmp/bitcoin-$BITCOIN_VERSION
RUN pip3 install --upgrade pip && \
python3 -m pip install \
CherryPy==17.3.0 \
Flask==1.0.2 \
cheroot==8.2.1 \
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 \
python-bitcoinlib==0.10.2 \
tqdm==4.26.0 \
pytest-test-groups==1.0.3 \
flake8==3.5.0 \
pytest-rerunfailures==3.1 \
mrkd==0.1.6