[libpng16] Clone zlib into the oss-fuzz zlib project and build zlib alongside libpng.

This commit is contained in:
Glenn Randers-Pehrson
2017-10-01 16:21:16 -05:00
parent 0f9f170e9f
commit edb1f47139
6 changed files with 27 additions and 19 deletions

View File

@@ -16,9 +16,10 @@
FROM gcr.io/oss-fuzz-base/base-builder
MAINTAINER glennrp@gmail.com
RUN apt-get update && apt-get install -y make autoconf automake libtool zlib1g-dev
RUN apt-get update && \
apt-get install -y make autoconf automake libtool
RUN git clone --depth 1 https://github.com/madler/zlib.git
RUN git clone --depth 1 https://github.com/glennrp/libpng.git
RUN (cd libpng; git log | head -1)
RUN cp libpng/contrib/oss-fuzz/build.sh $SRC
WORKDIR libpng
COPY build.sh $SRC/