forked from KomodoPlatform/komodo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
28 lines (22 loc) · 962 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
25
26
27
28
FROM ubuntu:20.04
LABEL maintainer="smk762 <[email protected]>"
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 libssl-dev libprotobuf-dev \
protobuf-compiler libqrencode-dev libdb++-dev software-properties-common libcurl4-openssl-dev curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ADD ./ /komodo
ENV HOME /komodo
WORKDIR /komodo
# configure || true or it WILL halt
RUN cd /komodo && \
./autogen.sh && \
./configure --with-incompatible-bdb --with-gui || true && \
./zcutil/build.sh -j$(nproc)
# Unknown stuff goes here
RUN ln -sf /komodo/src/komodod /usr/bin/komodod && \
ln -sf /komodo/zcutil/docker-entrypoint.sh /usr/bin/entrypoint && \
ln -sf /komodo/zcutil/docker-komodo-cli.sh /usr/bin/komodo-cli
CMD ["entrypoint"]