mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
10 lines
422 B
Plaintext
10 lines
422 B
Plaintext
FROM aberaud/opendht-deps-bionic
|
|
MAINTAINER Adrien Béraud <adrien.beraud@savoirfairelinux.com>
|
|
|
|
RUN apt-get update && apt-get install -y python3-pip && pip3 install --upgrade cmake
|
|
|
|
COPY . /root/opendht
|
|
RUN cd /root/opendht && mkdir build && cd build \
|
|
&& cmake -DCMAKE_INSTALL_PREFIX=/usr -DOPENDHT_PYTHON=On -DOPENDHT_C=On -DOPENDHT_LTO=On -DOPENDHT_TESTS=ON .. \
|
|
&& make -j8 && ./opendht_unit_tests && make install
|