tor: Fix libevent build by installing pkg-config (#6041)

It appears that libevent now requires pkg-config, which was not
previously installed from Tor's Dockerfile.  This change adds
pkg-config.

Adding this dependency should resolve oss-fuzz issue 36048
(https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36048)
This commit is contained in:
Nick Mathewson 2021-07-14 10:25:16 -04:00 committed by GitHub
parent 0fc3c25765
commit 3516bed47c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
##############################################################################
FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y autoconf automake make libtool
RUN apt-get update && apt-get install -y autoconf automake make libtool pkg-config
RUN git clone --depth 1 https://git.torproject.org/tor.git
RUN git clone --depth 1 https://git.torproject.org/fuzzing-corpora.git tor-fuzz-corpora
RUN git clone --depth 1 https://github.com/madler/zlib.git