aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/gnutls/Dockerfile
diff options
context:
space:
mode:
authorGravatar Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>2017-08-16 17:09:27 +0200
committerGravatar Oliver Chang <oliverchang@users.noreply.github.com>2017-08-16 08:09:27 -0700
commitc021b7dc0ce54b491d08bb911a4ebe81aad334ab (patch)
tree7044881ff7d888fd996bff5396de205c8932f5d6 /projects/gnutls/Dockerfile
parentaa80ddcc86948edc13015095d1a92b5e972b160e (diff)
New fuzzing architecture (#779)
Requisites are build as static libraries and as these linked to the fuzzers. p11-kit can't be build statically, thus our fuzzers are not using it.
Diffstat (limited to 'projects/gnutls/Dockerfile')
-rw-r--r--projects/gnutls/Dockerfile29
1 files changed, 26 insertions, 3 deletions
diff --git a/projects/gnutls/Dockerfile b/projects/gnutls/Dockerfile
index e6f44473..33d791be 100644
--- a/projects/gnutls/Dockerfile
+++ b/projects/gnutls/Dockerfile
@@ -16,10 +16,33 @@
FROM gcr.io/oss-fuzz-base/base-builder
MAINTAINER alex.gaynor@gmail.com
-RUN apt-get update && apt-get install -y make autoconf automake libtool autopoint pkg-config gperf bison autogen texinfo curl
+RUN apt-get update && apt-get install -y \
+ make \
+ pkg-config \
+ autoconf \
+ automake \
+ autogen \
+ autopoint \
+ libtool \
+ gperf \
+ bison \
+ texinfo \
+ curl \
+ gettext \
+ gengetopt \
+ wget \
+ python \
+ mercurial
-RUN git clone --depth=1 https://gitlab.com/gnutls/gnutls.git
-RUN cd gnutls && git clone --depth=1 https://git.lysator.liu.se/nettle/nettle.git
+ENV GNULIB_TOOL $SRC/gnulib/gnulib-tool
+RUN git clone git://git.savannah.gnu.org/gnulib.git
+RUN git clone --depth=1 https://git.savannah.gnu.org/git/libunistring.git
+RUN git clone --depth=1 https://gitlab.com/libidn/libidn2.git
+RUN hg clone https://gmplib.org/repo/gmp/ gmp
+RUN git clone --depth=1 https://git.savannah.gnu.org/git/libtasn1.git
+RUN git clone --depth=1 https://git.lysator.liu.se/nettle/nettle.git
+
+RUN git clone --depth=1 --recursive https://gitlab.com/gnutls/gnutls.git
WORKDIR gnutls
COPY build.sh $SRC/