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 18RUN apt-get update && apt-get install -y \ 19 make \ 20 pkg-config \ 21 gettext \ 22 autogen \ 23 autopoint \ 24 autoconf \ 25 automake \ 26 libtool \ 27 texinfo \ 28 flex \ 29 bison \ 30 gettext \ 31 gengetopt \ 32 curl \ 33 gperf \ 34 wget \ 35 python \ 36 lzip \ 37 rsync 38 39ENV GNULIB_TOOL $SRC/gnulib/gnulib-tool 40RUN git clone git://git.savannah.gnu.org/gnulib.git 41RUN git clone --depth=1 --recursive https://git.savannah.gnu.org/git/libunistring.git 42RUN git clone --depth=1 --recursive https://gitlab.com/libidn/libidn2.git 43RUN git clone --depth=1 --recursive https://github.com/rockdaboot/libpsl.git 44RUN git clone --depth=1 https://git.lysator.liu.se/nettle/nettle.git 45RUN git clone --depth=1 https://gitlab.com/gnutls/gnutls.git 46RUN wget -O- https://ftp.gnu.org/pub/gnu/libmicrohttpd/libmicrohttpd-latest.tar.gz|tar xz 47 48RUN git clone --recursive https://gitlab.com/gnuwget/wget2.git 49 50WORKDIR wget2 51COPY build.sh $SRC/ 52