Merge branch '0.12.0'

This commit is contained in:
Jeffrey Paul 2016-04-11 17:51:28 +02:00
commit a1aaf94b70
Signed by: sneak
GPG Key ID: 052443F4DF2A55C2
3 changed files with 7 additions and 10 deletions

View File

@ -19,17 +19,14 @@ RUN cd /usr/local/src/bitcoin && \
git checkout $BITCOIND_REV && \
./autogen.sh && \
./configure --disable-wallet --enable-hardening && \
make -j10 && \
make -j2 && \
make install && \
cd / && \
rm -rf /usr/local/src/bitcoin
RUN apt-get remove -y \
build-essential libtool autotools-dev automake pkg-config libssl-dev \
libevent-dev bsdmainutils libzmq3-dev \
libboost-system-dev libboost-filesystem-dev libboost-chrono-dev \
libboost-program-options-dev libboost-test-dev libboost-thread-dev \
libminiupnpc-dev git && \
build-essential libtool autotools-dev automake \
pkg-config bsdmainutils git && \
apt-get autoremove -y && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV HOME /var/lib/bitcoin

View File

@ -1,10 +1,10 @@
default: build
build: kill
docker build -t sneak/bitcoind .
docker build -t sneak/bitcoind:0.12.0 .
run: kill
docker run --name sneak-bitcoind -d sneak/bitcoind
docker run --name sneak-bitcoind -d sneak/bitcoind:0.12.0
docker logs -f sneak-bitcoind
kill:

View File

@ -16,8 +16,8 @@ exec chpst -ubitcoin \
bitcoind \
-printtoconsole \
-disablewallet \
-datadir $HOME \
-conf $HOME/bitcoin.conf \
-datadir=/var/lib/bitcoin \
-conf=/var/lib/bitcoin/bitcoin.conf \
-rpcallowip=::/0 \
$BITCOIND_EXTRA_OPTS \
2>&1