-FROM ubuntu:16.04
-
-# All the stuff
-# And clean out packages, keep space minimal
-RUN apt-get -y update && \
- apt-get -y upgrade && \
- apt-get -y install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev \
- unzip python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev \
- protobuf-compiler libqt4-dev libqrencode-dev libdb++-dev software-properties-common libcurl4-openssl-dev && \
- apt-get clean && \
- rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
+FROM kolobus/ubuntu:komodo
ADD ./ /komodo
ENV HOME /komodo
RUN cd /komodo && \
./autogen.sh && \
./configure --with-incompatible-bdb --with-gui || true && \
- ./zcutil/build.sh -j4
+ ./zcutil/build.sh -j$(nproc)
# Unknown stuff goes here
ln -sf /komodo/zcutil/docker-komodo-cli.sh /usr/bin/komodo-cli
CMD ["entrypoint"]
-
txindex=1
bind=${listenip:-127.0.0.1}
rpcbind=${listenip:-127.0.0.1}
-addnode=5.9.102.210
-addnode=78.47.196.146
-addnode=178.63.69.164
-addnode=88.198.65.74
-addnode=5.9.122.241
-addnode=144.76.94.38
EOF
cat $HOME/.komodo/komodo.conf
echo "...Checking fetch-params"
$HOME/zcutil/fetch-params.sh
-
echo "Initialization completed successfully"
echo
+
+# ToDo: Needs some rework. I was sick
if [ $# -gt 0 ]; then
args=("$@")
#!/bin/bash
-if [ -z ${assetchain+x} ]; then
- /komodo/src/komodo-cli $1 $2 $3 $4
+# ToDo: check for docker arg ac_name
-else
-
- /komodo/src/komodo-cli -ac_name=$assetchain $1 $2 $3 $4
-
-fi
+/komodo/src/komodo-cli $1 $2 $3 $4