From 7e1aa442ef3a965afafee799551755f9b43589ed Mon Sep 17 00:00:00 2001 From: sudden6 Date: Sun, 13 Feb 2022 15:24:11 +0100 Subject: [PATCH] fix: add msgpack dependency to fuzzer build --- .clusterfuzzlite/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.clusterfuzzlite/Dockerfile b/.clusterfuzzlite/Dockerfile index 4421e6c5..55af98c7 100644 --- a/.clusterfuzzlite/Dockerfile +++ b/.clusterfuzzlite/Dockerfile @@ -9,10 +9,18 @@ RUN apt-get update && \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* +# Static builds of dependencies +# libsodium RUN git clone --depth 1 --branch 1.0.18 https://github.com/jedisct1/libsodium libsodium WORKDIR $SRC/libsodium RUN ./autogen.sh && ./configure --enable-shared=no && make install +WORKDIR $SRC + +# msgpack-c +RUN git clone --depth 1 --branch c_master https://github.com/msgpack/msgpack-c.git msgpack +WORKDIR $SRC/msgpack +RUN cmake -DBUILD_SHARED_LIBS=OFF . && make && make install # Copy your project's source code. COPY . $SRC/c-toxcore