core-lightning/contrib/Dockerfile.builder.i386
Christian Decker bab0693fc4 contrib: Add py.test to builder Dockerfiles
With the previous commit this enables py.test on travis, which should
give us some better way of hunting down bugs on travis.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2017-11-10 02:20:00 +00:00

37 lines
906 B
Docker

FROM i386/ubuntu:16.04
MAINTAINER Christian Decker <decker.christian@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
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 \
python-pkg-resources \
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 pytest==3.0.5 setuptools==36.6.0