1# Copyright 2017 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# Install the build dependencies 19 20# install the minimum 21 22RUN sed -i '/^#\sdeb-src /s/^#//' "/etc/apt/sources.list" && \ 23 apt-get update && \ 24 apt-get install -y build-essential pkg-config bison flex gettext \ 25 libffi-dev liblzma-dev libvorbis-dev libtheora-dev libogg-dev zlib1g-dev \ 26 python3-pip && \ 27 pip3 install meson==0.55.1 ninja==1.10.0.post2 28 29ADD https://ftp.gnome.org/pub/gnome/sources/glib/2.64/glib-2.64.2.tar.xz $SRC 30 31# Checkout all development repositories 32#RUN for i in orc gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav; do git clone --depth 1 --recursive https://anongit.freedesktop.org/git/gstreamer/$i $i; done 33RUN \ 34 git clone --depth 1 --recursive https://gitlab.freedesktop.org/gstreamer/gstreamer.git gstreamer && \ 35 git clone --depth 1 --recursive https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git gst-plugins-base && \ 36 git clone --depth 1 --recursive https://gitlab.freedesktop.org/gstreamer/gst-ci.git gst-ci 37 38ADD https://people.freedesktop.org/~bilboed/gst-discoverer_seed_corpus.zip $SRC 39 40WORKDIR gstreamer 41COPY build.sh $SRC/ 42