seems to work now
This commit is contained in:
parent
5074273936
commit
7cdefa84b5
|
@ -20,15 +20,14 @@ RUN cd /usr/local/src/bitcoin && \
|
||||||
git checkout $BITCOIND_REV && \
|
git checkout $BITCOIND_REV && \
|
||||||
./autogen.sh && \
|
./autogen.sh && \
|
||||||
./configure --disable-wallet --enable-hardening && \
|
./configure --disable-wallet --enable-hardening && \
|
||||||
make -j10 && \
|
make -j2 && \
|
||||||
make install && \
|
make install && \
|
||||||
cd / && \
|
cd / && \
|
||||||
rm -rf /usr/local/src/bitcoin
|
rm -rf /usr/local/src/bitcoin
|
||||||
|
|
||||||
RUN apt-get remove -y \
|
RUN apt-get remove -y \
|
||||||
build-essential libtool autotools-dev automake pkg-config libssl-dev \
|
build-essential libtool autotools-dev automake \
|
||||||
libevent-dev bsdmainutils libzmq3-dev \
|
pkg-config bsdmainutils git && \
|
||||||
libminiupnpc-dev git && \
|
|
||||||
apt-get autoremove -y && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
apt-get autoremove -y && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
ENV HOME /var/lib/bitcoin
|
ENV HOME /var/lib/bitcoin
|
||||||
|
|
|
@ -16,8 +16,8 @@ exec chpst -ubitcoin \
|
||||||
bitcoind \
|
bitcoind \
|
||||||
-printtoconsole \
|
-printtoconsole \
|
||||||
-disablewallet \
|
-disablewallet \
|
||||||
-datadir $HOME \
|
-datadir=/var/lib/bitcoin \
|
||||||
-conf $HOME/bitcoin.conf \
|
-conf=/var/lib/bitcoin/bitcoin.conf \
|
||||||
-rpcallowip=::/0 \
|
-rpcallowip=::/0 \
|
||||||
$BITCOIND_EXTRA_OPTS \
|
$BITCOIND_EXTRA_OPTS \
|
||||||
2>&1
|
2>&1
|
||||||
|
|
Loading…
Reference in New Issue