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
18
19
20RUN apt-get update && apt-get install -y \
21    autoconf \
22    automake \
23    build-essential \
24    cmake \
25    libtool \
26    make \
27    mercurial \
28    pkg-config \
29    yasm
30
31RUN git clone \
32    --depth 1 \
33    --branch master \
34    https://github.com/strukturag/libde265.git \
35    libde265
36
37RUN hg clone \
38    --branch stable \
39    http://hg.videolan.org/x265 \
40    x265
41
42RUN git clone \
43    --depth 1 \
44    --branch master \
45    https://aomedia.googlesource.com/aom \
46    aom
47
48RUN git clone \
49    --depth 1 \
50    --branch master \
51    https://github.com/strukturag/libheif.git \
52    libheif
53
54WORKDIR libheif
55
56COPY build.sh $SRC/
57