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