mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
15 lines
290 B
Docker
15 lines
290 B
Docker
|
FROM gcc:latest
|
||
|
|
||
|
RUN apt update && \
|
||
|
apt install -y cmake git libcap-dev curl ninja-build libuv1-dev
|
||
|
|
||
|
WORKDIR /src/
|
||
|
|
||
|
COPY . /src/
|
||
|
|
||
|
RUN mkdir build && \
|
||
|
cd build && \
|
||
|
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DWARNINGS_AS_ERRORS=ON && \
|
||
|
ninja -k0 && \
|
||
|
./test/testAll
|