mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
28 lines
591 B
Docker
28 lines
591 B
Docker
|
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
|