• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2019 Google Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15################################################################################
16
17FROM gcr.io/oss-fuzz-base/base-builder
18RUN apt-get update && apt-get install -y \
19  curl \
20  automake \
21  cmake \
22  nasm \
23  gtk-doc-tools \
24  gobject-introspection \
25  libfftw3-dev \
26  libexpat1-dev \
27  libffi-dev \
28  libselinux1-dev \
29  glib2.0-dev
30RUN mkdir afl-testcases
31RUN curl https://lcamtuf.coredump.cx/afl/demo/afl_testcases.tgz | tar xzC afl-testcases
32RUN git clone --depth 1 https://github.com/libvips/libvips
33RUN git clone --depth 1 https://github.com/madler/zlib.git
34RUN git clone --depth 1 https://github.com/libexif/libexif
35RUN git clone --depth 1 https://github.com/libjpeg-turbo/libjpeg-turbo
36RUN git clone --depth 1 https://github.com/glennrp/libpng.git
37RUN git clone --depth 1 https://git.code.sf.net/p/giflib/code libgif
38RUN git clone --depth 1 https://chromium.googlesource.com/webm/libwebp
39RUN git clone --depth 1 https://gitlab.com/libtiff/libtiff
40RUN git clone --depth 1 https://aomedia.googlesource.com/aom
41RUN git clone --depth 1 https://github.com/strukturag/libheif
42
43WORKDIR libvips
44COPY build.sh $SRC/
45