1# Copyright 2020 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 19RUN apt-get update && apt-get install -y make autoconf automake autopoint libtool pkg-config flex byacc 20 21RUN git clone --depth 1 https://github.com/libyal/libfplist.git libfplist 22RUN git clone --depth 1 https://github.com/libyal/libftxf.git libftxf 23RUN git clone --depth 1 https://github.com/libyal/libfusn.git libfusn 24RUN git clone --depth 1 https://github.com/libyal/libfwnt.git libfwnt 25RUN git clone --depth 1 https://github.com/libyal/libfwps.git libfwps 26RUN git clone --depth 1 https://github.com/libyal/libfwsi.git libfwsi 27 28RUN git clone --depth 1 https://github.com/libyal/libagdb.git libagdb 29RUN git clone --depth 1 https://github.com/libyal/libcreg.git libcreg 30RUN git clone --depth 1 https://github.com/libyal/libesedb.git libesedb 31RUN git clone --depth 1 https://github.com/libyal/libevt.git libevt 32RUN git clone --depth 1 https://github.com/libyal/libevtx.git libevtx 33RUN git clone --depth 1 https://github.com/libyal/libexe.git libexe 34RUN git clone --depth 1 https://github.com/libyal/liblnk.git liblnk 35RUN git clone --depth 1 https://github.com/libyal/libmdmp.git libmdmp 36RUN git clone --depth 1 https://github.com/libyal/libmsiecf.git libmsiecf 37RUN git clone --depth 1 https://github.com/libyal/libnk2.git libnk2 38RUN git clone --depth 1 https://github.com/libyal/libolecf.git libolecf 39RUN git clone --depth 1 https://github.com/libyal/libpff.git libpff 40RUN git clone --depth 1 https://github.com/libyal/libregf.git libregf 41RUN git clone --depth 1 https://github.com/libyal/libscca.git libscca 42 43RUN git clone --depth 1 https://github.com/libyal/libfsapfs.git libfsapfs 44RUN git clone --depth 1 https://github.com/libyal/libfsext.git libfsext 45RUN git clone --depth 1 https://github.com/libyal/libfshfs.git libfshfs 46RUN git clone --depth 1 https://github.com/libyal/libfsntfs.git libfsntfs 47RUN git clone --depth 1 https://github.com/libyal/libfsxfs.git libfsxfs 48 49RUN git clone --depth 1 https://github.com/libyal/libbde.git libbde 50RUN git clone --depth 1 https://github.com/libyal/libluksde.git libluksde 51RUN git clone --depth 1 https://github.com/libyal/libvsgpt.git libvsgpt 52RUN git clone --depth 1 https://github.com/libyal/libvslvm.git libvslvm 53RUN git clone --depth 1 https://github.com/libyal/libvsmbr.git libvsmbr 54 55RUN git clone --depth 1 https://github.com/libyal/libewf.git libewf 56RUN git clone --depth 1 https://github.com/libyal/libmodi.git libmodi 57RUN git clone --depth 1 https://github.com/libyal/libqcow.git libqcow 58RUN git clone --depth 1 https://github.com/libyal/libsmraw.git libsmraw 59RUN git clone --depth 1 https://github.com/libyal/libvhdi.git libvhdi 60RUN git clone --depth 1 https://github.com/libyal/libvmdk.git libvmdk 61 62WORKDIR libyal 63COPY build.sh $SRC/ 64