Skip to content

Commit

Permalink
fix: add msgpack dependency to fuzzer build
Browse files Browse the repository at this point in the history
  • Loading branch information
sudden6 committed Feb 13, 2022
1 parent 40a6bab commit 7e1aa44
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .clusterfuzzlite/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e1aa44

Please sign in to comment.