1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/docker/gcc-trunk.Dockerfile
2020-02-06 17:45:46 -04:00

14 lines
311 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 -DDOWNLOAD_SODIUM=ON && \
ninja -k0 && \
./test/testAll