1# Copyright 2016 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 18MAINTAINER mmoroz@chromium.org 19ADD bionic.list /etc/apt/sources.list.d/bionic.list 20ADD nasm_apt.pin /etc/apt/preferences 21RUN apt-get update && apt-get install -y make autoconf automake libtool build-essential \ 22 libass-dev libfreetype6-dev libsdl1.2-dev \ 23 libvdpau-dev libxcb1-dev libxcb-shm0-dev \ 24 pkg-config texinfo libbz2-dev zlib1g-dev yasm cmake mercurial wget \ 25 xutils-dev libpciaccess-dev nasm 26 27RUN git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg 28 29RUN wget https://www.alsa-project.org/files/pub/lib/alsa-lib-1.1.0.tar.bz2 30RUN git clone --depth 1 https://github.com/mstorsjo/fdk-aac.git 31RUN git clone --depth 1 git://anongit.freedesktop.org/xorg/lib/libXext 32RUN git clone --depth 1 git://anongit.freedesktop.org/git/xorg/lib/libXfixes 33RUN git clone --depth 1 https://github.com/01org/libva 34RUN git clone --depth 1 -b libvdpau-1.2 git://people.freedesktop.org/~aplattner/libvdpau 35RUN git clone --depth 1 https://chromium.googlesource.com/webm/libvpx 36RUN git clone --depth 1 git://git.xiph.org/ogg.git 37RUN git clone --depth 1 git://git.xiph.org/opus.git 38RUN git clone --depth 1 git://git.xiph.org/theora.git 39RUN git clone --depth 1 git://git.xiph.org/vorbis.git 40 41COPY build.sh group_seed_corpus.py $SRC/ 42