hacks/mkbootstrapdat/Dockerfile

23 lines
556 B
Docker
Raw Permalink Normal View History

2016-04-06 02:52:32 +00:00
FROM ubuntu:14.04
VOLUME /bitcoin
ADD ./sources.list /etc/apt/sources.list
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get -y upgrade && \
apt-get -y install git build-essential jq curl python pv
RUN cd /usr/local/src && \
git clone https://github.com/bitcoin/bitcoin.git && \
cd bitcoin && \
git checkout a9149688f87cb790a600400abd9af72c3ee0c312
VOLUME /input
VOLUME /output
ADD ./mkbootstrap /usr/local/bin/mkbootstrap
RUN chmod +x /usr/local/bin/mkbootstrap
ENTRYPOINT /usr/local/bin/mkbootstrap