diff --git a/projects/frr/Dockerfile b/projects/frr/Dockerfile index 3286cc63e..df3ad0266 100644 --- a/projects/frr/Dockerfile +++ b/projects/frr/Dockerfile @@ -19,7 +19,8 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y git autoconf automake libtool make \ libreadline-dev texinfo libjson-c-dev pkg-config bison flex python3-pip \ libc-ares-dev python3-dev python3-sphinx build-essential libsystemd-dev \ - libsnmp-dev libcap-dev libelf-dev libpcre3-dev libpcre2-dev + libsnmp-dev libcap-dev libelf-dev libpcre3-dev libpcre2-dev \ + protobuf-c-compiler libprotobuf-c-dev RUN pip3 install pytest RUN git clone https://github.com/CESNET/libyang.git diff --git a/projects/frr/build.sh b/projects/frr/build.sh index 181fe1b7b..4f3dfa30e 100755 --- a/projects/frr/build.sh +++ b/projects/frr/build.sh @@ -60,6 +60,7 @@ find $OUT -maxdepth 1 -type f -executable | while read i; do copy_lib ${i} libyang copy_lib ${i} libelf copy_lib ${i} libjson-c + copy_lib ${i} libprotobuf-c done patchelf --remove-needed libpcre2-8.so.0 $OUT/lib/libyang.so.2