-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
24 lines (16 loc) · 695 Bytes
/
Dockerfile
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:16.04
LABEL "vendor"="Tarun Singhal"
LABEL "vendor.url"="http://www.tarunsinghal.me"
LABEL "maintainer"="hello@tarunsinghal.me"
RUN apt-get update -y && apt-get install wget -y && apt-get install build-essential libssl-dev libdb++-dev git libssl1.0.0-dbg libdb-dev libboost-all-dev libminiupnpc-dev libevent-dev libcrypto++-dev libgmp3-dev -y
WORKDIR /root/
RUN git clone https://github.com/digixhub/MicroBitcoin.git
WORKDIR /root/MicroBitcoin/src
RUN mkdir -p obj/zerocoin
RUN chmod +x leveldb/build_detect_platform
RUN make -f makefile.unix RELEASE=1
WORKDIR /root/.microbitcoin/
EXPOSE 33013
EXPOSE 33014
COPY ./docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]