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