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 autogen \ 22 autopoint \ 23 autoconf \ 24 autoconf-archive \ 25 automake \ 26 libtool \ 27 texinfo \ 28 bison \ 29 gettext \ 30 gengetopt \ 31 curl \ 32 gperf \ 33 wget \ 34 python 35 36RUN git clone git://git.savannah.gnu.org/gnulib.git 37ENV GNULIB_TOOL=$SRC/gnulib/gnulib-tool 38ENV GNULIB_SRCDIR=$SRC/gnulib 39 40RUN git clone --depth=1 https://git.savannah.gnu.org/git/libunistring.git 41RUN git clone --depth=1 https://gitlab.com/libidn/libidn2.git && \ 42 rmdir libidn2/gnulib && ln -s $SRC/gnulib libidn2/gnulib 43RUN git clone --depth=1 https://git.savannah.gnu.org/git/libidn.git 44RUN wget https://github.com/unicode-org/icu/releases/download/release-59-2/icu4c-59_2-src.tgz && tar xvfz icu4c-59_2-src.tgz 45 46RUN git clone --depth=1 --recursive https://github.com/rockdaboot/libpsl.git 47 48WORKDIR libpsl 49COPY build.sh config.site $SRC/ 50