mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
67315be673
The Dockerfile is now stored in contrib and built using the Docker Hub. This allows us to simply pull in the finished image from the hub instead of having to build it ourself. Should shave off about 2 minutes from the build time. I also switched to running the individual build and check steps in their own containers, but on the same volume, so travis can group the commands and run them independently.
28 lines
591 B
Ruby
28 lines
591 B
Ruby
FROM ubuntu:16.04
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
WORKDIR /build
|
|
|
|
RUN echo "deb http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/bitcoin.list
|
|
RUN apt-get -qq update && \
|
|
apt-get -qq install --allow-unauthenticated -yy \
|
|
eatmydata \
|
|
software-properties-common \
|
|
build-essential \
|
|
autoconf \
|
|
libtool \
|
|
libprotobuf-c-dev \
|
|
libsqlite3-dev \
|
|
libgmp-dev \
|
|
libsqlite3-dev \
|
|
git \
|
|
python \
|
|
python3 \
|
|
valgrind \
|
|
net-tools \
|
|
bitcoind \
|
|
python3-pip \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip3 install python-bitcoinlib==0.7.0
|