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/libfwevt.git libfwevt 25RUN git clone --depth 1 https://github.com/libyal/libfwnt.git libfwnt 26RUN git clone --depth 1 https://github.com/libyal/libfwps.git libfwps 27RUN git clone --depth 1 https://github.com/libyal/libfwsi.git libfwsi 28 29RUN git clone --depth 1 https://github.com/libyal/libagdb.git libagdb 30RUN git clone --depth 1 https://github.com/libyal/libcreg.git libcreg 31RUN git clone --depth 1 https://github.com/libyal/libesedb.git libesedb 32RUN git clone --depth 1 https://github.com/libyal/libevt.git libevt 33RUN git clone --depth 1 https://github.com/libyal/libevtx.git libevtx 34RUN git clone --depth 1 https://github.com/libyal/libexe.git libexe 35RUN git clone --depth 1 https://github.com/libyal/liblnk.git liblnk 36RUN git clone --depth 1 https://github.com/libyal/libmdmp.git libmdmp 37RUN git clone --depth 1 https://github.com/libyal/libmsiecf.git libmsiecf 38RUN git clone --depth 1 https://github.com/libyal/libnk2.git libnk2 39RUN git clone --depth 1 https://github.com/libyal/libolecf.git libolecf 40RUN git clone --depth 1 https://github.com/libyal/libpff.git libpff 41RUN git clone --depth 1 https://github.com/libyal/libregf.git libregf 42RUN git clone --depth 1 https://github.com/libyal/libscca.git libscca 43 44RUN git clone --depth 1 https://github.com/libyal/libfsapfs.git libfsapfs 45RUN git clone --depth 1 https://github.com/libyal/libfsext.git libfsext 46RUN git clone --depth 1 https://github.com/libyal/libfshfs.git libfshfs 47RUN git clone --depth 1 https://github.com/libyal/libfsntfs.git libfsntfs 48RUN git clone --depth 1 https://github.com/libyal/libfsxfs.git libfsxfs 49 50RUN git clone --depth 1 https://github.com/libyal/libbde.git libbde 51RUN git clone --depth 1 https://github.com/libyal/libluksde.git libluksde 52RUN git clone --depth 1 https://github.com/libyal/libvsgpt.git libvsgpt 53RUN git clone --depth 1 https://github.com/libyal/libvshadow.git libvshadow 54RUN git clone --depth 1 https://github.com/libyal/libvslvm.git libvslvm 55RUN git clone --depth 1 https://github.com/libyal/libvsmbr.git libvsmbr 56 57RUN git clone --depth 1 https://github.com/libyal/libewf.git libewf 58RUN git clone --depth 1 https://github.com/libyal/libmodi.git libmodi 59RUN git clone --depth 1 https://github.com/libyal/libodraw.git libodraw 60RUN git clone --depth 1 https://github.com/libyal/libqcow.git libqcow 61RUN git clone --depth 1 https://github.com/libyal/libsmraw.git libsmraw 62RUN git clone --depth 1 https://github.com/libyal/libvhdi.git libvhdi 63RUN git clone --depth 1 https://github.com/libyal/libvmdk.git libvmdk 64 65WORKDIR libyal 66COPY build.sh $SRC/ 67