docker-bitcoind/Dockerfile

20 lines
526 B
Docker
Raw Normal View History

2015-11-01 19:12:52 -08:00
FROM ubuntu:trusty
RUN apt-get update && \
apt-get install -y supervisor software-properties-common && \
add-apt-repository -y ppa:bitcoin/bitcoin && \
apt-get update && \
apt-get install -y bitcoind && \
apt-get clean && \
useradd -m crypto && \
su -c "mkdir /home/crypto/bitcoin/" crypto && \
rm -rf /var/lib/apt/lists/*
ADD bitcoin.conf /home/crypto/bitcoin.conf
2015-11-02 11:49:08 -08:00
ADD bitcoind.conf /etc/supervisor/conf.d/bitcoind.conf
2015-11-01 19:12:52 -08:00
VOLUME /home/crypto/bitcoin/
EXPOSE 8332 8333
2015-11-01 19:36:52 -08:00
ENTRYPOINT supervisord