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 18RUN apt-get update && apt-get install -y \ 19 autoconf \ 20 autogen \ 21 automake \ 22 autopoint \ 23 bison \ 24 gettext \ 25 gperf \ 26 libtool \ 27 make \ 28 pkg-config \ 29 texinfo \ 30 wget \ 31 libev4 \ 32 libev-dev 33 34ENV GNULIB_TOOL $SRC/gnulib/gnulib-tool 35RUN git clone git://git.savannah.gnu.org/gnulib.git 36RUN git clone --depth=1 --recursive https://git.savannah.gnu.org/git/libunistring.git 37RUN git clone --depth=1 https://git.lysator.liu.se/nettle/nettle.git 38RUN git clone --depth=1 https://gitlab.com/gnutls/gnutls.git 39RUN git clone --depth=1 https://github.com/LMDB/lmdb.git 40RUN git clone --depth=1 https://gitlab.labs.nic.cz/knot/knot-dns 41 42WORKDIR knot-dns 43COPY build.sh $SRC/ 44