mirror of https://github.com/google/oss-fuzz.git
Suricata with pcre2 (#5606)
* Builds pcre2 dependency for Suricata * Update Dockerfile Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
This commit is contained in:
parent
1ce21b3186
commit
db899783b4
|
@ -15,9 +15,10 @@
|
|||
################################################################################
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
RUN apt-get update && apt-get install -y build-essential autoconf automake libtool make pkg-config python flex bison zlib1g-dev libpcre3-dev libpcre2-dev cmake tshark
|
||||
RUN apt-get update && apt-get install -y build-essential autoconf automake libtool make pkg-config python flex bison zlib1g-dev libpcre3-dev cmake tshark
|
||||
|
||||
#TODO libmagic, liblzma, pcre and other optional libraries
|
||||
# TODO libmagic, liblzma and other optional libraries
|
||||
ADD https://ftp.pcre.org/pub/pcre/pcre2-10.36.tar.gz pcre2-10.36.tar.gz
|
||||
ADD https://www.tcpdump.org/release/libpcap-1.9.1.tar.gz libpcap-1.9.1.tar.gz
|
||||
ADD http://www.digip.org/jansson/releases/jansson-2.12.tar.gz jansson-2.12.tar.gz
|
||||
RUN git clone --depth=1 https://github.com/yaml/libyaml
|
||||
|
|
|
@ -16,6 +16,15 @@
|
|||
################################################################################
|
||||
|
||||
# build dependencies statically
|
||||
(
|
||||
tar -xvzf pcre2-10.36.tar.gz
|
||||
cd pcre2-10.36
|
||||
./configure --disable-shared
|
||||
make -j$(nproc) clean
|
||||
make -j$(nproc) all
|
||||
make -j$(nproc) install
|
||||
)
|
||||
|
||||
tar -xvzf lz4-1.9.2.tar.gz
|
||||
cd lz4-1.9.2
|
||||
make liblz4.a
|
||||
|
|
Loading…
Reference in New Issue