frr: add missing protobuf dep (#10892)

Fix da build
This commit is contained in:
Quentin Young 2023-08-28 09:46:42 +00:00 committed by GitHub
parent ecff0de4a3
commit 7ed5fcd96d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

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

View File

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