mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
20 lines
665 B
Plaintext
20 lines
665 B
Plaintext
FROM ghcr.io/savoirfairelinux/opendht/opendht-deps-llvm:latest
|
|
LABEL maintainer="Adrien Béraud <adrien.beraud@savoirfairelinux.com>"
|
|
LABEL org.opencontainers.image.source=https://github.com/savoirfairelinux/opendht
|
|
|
|
COPY . opendht
|
|
|
|
RUN cd opendht && mkdir build && cd build \
|
|
&& cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=On \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DOPENDHT_C=On \
|
|
-DOPENDHT_PEER_DISCOVERY=On \
|
|
-DOPENDHT_PYTHON=On \
|
|
-DOPENDHT_TOOLS=On \
|
|
-DOPENDHT_PROXY_SERVER=On \
|
|
-DOPENDHT_PROXY_CLIENT=On \
|
|
-DOPENDHT_SYSTEMD=On \
|
|
&& make -j8 && make install \
|
|
&& cd ../.. && rm -rf opendht
|