mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
14 lines
480 B
Plaintext
14 lines
480 B
Plaintext
FROM docker.pkg.github.com/savoirfairelinux/opendht/opendht-deps-bionic:2.0.0
|
|
MAINTAINER Adrien Béraud <adrien.beraud@savoirfairelinux.com>
|
|
|
|
RUN git clone https://github.com/savoirfairelinux/opendht.git \
|
|
&& cd opendht && mkdir build && cd build \
|
|
&& cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DOPENDHT_PROXY_CLIENT=On \
|
|
-DOPENDHT_PROXY_SERVER=On \
|
|
-DOPENDHT_C=On \
|
|
-DOPENDHT_PYTHON=On \
|
|
-DOPENDHT_LTO=On \
|
|
&& make -j8 && make install \
|
|
&& cd ../.. && rm -rf opendht
|