forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.builder.i386
41 lines (37 loc) · 1.09 KB
/
Dockerfile.builder.i386
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
FROM i386/ubuntu:16.04
MAINTAINER Christian Decker <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
ENV BITCOIN_VERSION 0.16.0
WORKDIR /build
RUN apt-get -qq update && \
apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
autoconf \
automake \
clang \
cppcheck \
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 \
python3-setuptools \
python-pkg-resources \
wget && \
rm -rf /var/lib/apt/lists/*
RUN cd /tmp/ && \
wget https://bitcoin.org/bin/bitcoin-core-$BITCOIN_VERSION/bitcoin-$BITCOIN_VERSION-i686-pc-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 && \
pip3 install python-bitcoinlib==0.7.0 pytest==3.0.5 setuptools==36.6.0 pytest-test-groups==1.0.3 flake8==3.5.0 pytest-rerunfailures==3.1