Skip to content

Commit 3dce3ff

Browse files
Galin KostovGalin Kostov
authored andcommitted
Add Dockerfile to build an image which has the multichain node alrdy compiled and set up and ready to plug-and-play
1 parent b78a904 commit 3dce3ff

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM ubuntu:16.04
2+
3+
WORKDIR /
4+
5+
ADD . /multichain
6+
7+
RUN apt-get update \
8+
&& apt-get -y install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils \
9+
&& apt-get -y install libboost-all-dev \
10+
&& apt-get -y install git \
11+
&& apt-get -y install software-properties-common \
12+
&& add-apt-repository ppa:bitcoin/bitcoin \
13+
&& apt-get update \
14+
&& apt-get -y install libdb4.8-dev libdb4.8++-dev \
15+
&& apt-get -y install nano \
16+
&& apt-get -y install curl
17+
18+
WORKDIR /multichain
19+
20+
RUN ./autogen.sh \
21+
&& ./configure \
22+
&& make \
23+
&& cp src/multichain-util /usr/local/bin/ \
24+
&& cp src/multichaind /usr/local/bin/ \
25+
&& cp src/multichain-cli /usr/local/bin/
26+

0 commit comments

Comments
 (0)