]>
Commit | Line | Data |
---|---|---|
94ee86f0 MF |
1 | FROM ubuntu:16.04 |
2 | MAINTAINER Mihail Fedorov <[email protected]> | |
3 | ||
4 | RUN apt-get -y update && \ | |
5 | apt-get -y upgrade && \ | |
6 | apt-get -y install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev \ | |
b26a0857 | 7 | unzip python zlib1g-dev wget bsdmainutils automake libssl-dev libprotobuf-dev \ |
657617da | 8 | protobuf-compiler libqrencode-dev libdb++-dev software-properties-common libcurl4-openssl-dev curl && \ |
94ee86f0 MF |
9 | apt-get clean && \ |
10 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
32c66617 MF |
11 | |
12 | ADD ./ /komodo | |
13 | ENV HOME /komodo | |
14 | WORKDIR /komodo | |
15 | ||
16 | # configure || true or it WILL halt | |
17 | RUN cd /komodo && \ | |
18 | ./autogen.sh && \ | |
19 | ./configure --with-incompatible-bdb --with-gui || true && \ | |
bb40eb8b | 20 | ./zcutil/build.sh -j$(nproc) |
32c66617 MF |
21 | |
22 | # Unknown stuff goes here | |
23 | ||
24 | RUN ln -sf /komodo/src/komodod /usr/bin/komodod && \ | |
25 | ln -sf /komodo/zcutil/docker-entrypoint.sh /usr/bin/entrypoint && \ | |
26 | ln -sf /komodo/zcutil/docker-komodo-cli.sh /usr/bin/komodo-cli | |
27 | ||
28 | CMD ["entrypoint"] |