forked from zerodivide1/docker-bitcoind-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (19 loc) · 728 Bytes
/
Dockerfile
File metadata and controls
24 lines (19 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ubuntu:trusty
MAINTAINER Andrew Boss (info@smartdeveloping.com)
# Add build script
ADD build.sh /tmp/build.sh
# Get
RUN mkdir /bitcoin-out && \
chmod +x /tmp/build.sh && \
apt-get update && \
apt-get -y install build-essential libtool autotools-dev autoconf pkg-config libssl-dev bsdmainutils git && \
apt-get -y install software-properties-common && \
apt-get -y install python-software-properties && \
add-apt-repository -y ppa:bitcoin/bitcoin && \
apt-get update && \
apt-get -y install libdb4.8-dev libdb4.8++-dev && \
apt-get -y install libboost-all-dev && \
apt-get -y install libevent-dev && \
apt-get -y install libminiupnpc-dev
VOLUME ["/bitcoin-out"]
CMD ["/bin/bash", "/tmp/build.sh"]