mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
17 lines
648 B
Plaintext
17 lines
648 B
Plaintext
FROM ghcr.io/savoirfairelinux/opendht/opendht-deps-bionic:latest
|
|
LABEL maintainer="Adrien Béraud <adrien.beraud@savoirfairelinux.com>"
|
|
LABEL org.opencontainers.image.source https://github.com/savoirfairelinux/opendht
|
|
|
|
RUN git clone https://github.com/savoirfairelinux/opendht.git \
|
|
&& cd opendht && mkdir build && cd build \
|
|
&& cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=On \
|
|
-DOPENDHT_C=On \
|
|
-DOPENDHT_PEER_DISCOVERY=On \
|
|
-DOPENDHT_PYTHON=On \
|
|
-DOPENDHT_TOOLS=On \
|
|
-DOPENDHT_PROXY_SERVER=On \
|
|
-DOPENDHT_PROXY_CLIENT=On \
|
|
&& make -j8 && make install \
|
|
&& cd ../.. && rm -rf opendht
|