creates bitcoin bootstrap file

This commit is contained in:
2016-04-06 04:52:32 +02:00
parent 5533ee1239
commit c28036bae1
5 changed files with 110 additions and 0 deletions

22
mkbootstrapdat/Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
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