Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& cd /tmp \
&& wget http://www.multichain.com/download/multichain-1.0.4.tar.gz \
&& tar -xvzf multichain-1.0.4.tar.gz \
&& cd multichain-1.0.4 \
&& wget http://www.multichain.com/download/multichain-1.0.7.tar.gz \
&& tar -xvzf multichain-1.0.7.tar.gz \
&& cd multichain-1.0.7 \
&& mv multichaind multichain-cli multichain-util /usr/local/bin \
&& cd /tmp \
&& rm -Rf multichain*
Expand Down
5 changes: 3 additions & 2 deletions explorer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM kunstmaan/node-multichain
FROM i3visio/node-multichain
MAINTAINER Kunstmaan

RUN apt-get update \
&& apt-get install -q -y python python-dev python-pip sqlite3 libsqlite3-dev \
&& pip install pycrypto \
&& pip install pycrypto py-ubjson\
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand All @@ -21,3 +21,4 @@ RUN chmod a+x /root/runexplorer.sh
EXPOSE 2750

CMD ["/bin/bash", "/root/runexplorer.sh"]

10 changes: 5 additions & 5 deletions explorer/runexplorer.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash -x

echo "Sleep for 30 seconds so the master node has initialised"
sleep 30
echo "Sleep for 3 seconds so the master node has initialised"
#sleep 3

echo "Start the chain"
multichaind -daemon -txindex -shrinkdebugfilesize $CHAINNAME@$MASTER_NODE:$NETWORK_PORT
multichaind -daemon -txindex -shrinkdebugfilesize $CHAINNAME@$MASTER_NODE_HOST:$MASTER_NODE_PORT

echo "Sleep for 30 seconds so the slave node has initialised"
sleep 30
echo "Sleep for 3 seconds so the slave node has initialised"
sleep 3

echo "Setup /root/.multichain/$CHAINNAME/multichain.conf"
echo "rpcport=$RPC_PORT" >> /root/.multichain/$CHAINNAME/multichain.conf
Expand Down
2 changes: 1 addition & 1 deletion master/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM kunstmaan/base-multichain
FROM i3visio/base-multichain
MAINTAINER Kunstmaan

COPY ./runchain.sh /root/runchain.sh
Expand Down
2 changes: 1 addition & 1 deletion node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM kunstmaan/base-multichain
FROM i3visio/base-multichain
MAINTAINER Kunstmaan

ADD ./runchain.sh /root/runchain.sh
Expand Down