fix: add msgpack dependency to fuzzer build

This commit is contained in:
sudden6 2022-02-13 15:24:11 +01:00
parent 40a6bab886
commit 7e1aa442ef
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -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