From 93aeb86ab07f942d788e39044bbda4d2d98b51dd Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sun, 19 Aug 2018 20:24:29 +0100 Subject: [PATCH] Prune unused features from libxml/libxslt --- Dockerfile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 605e129..5465787 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,14 @@ WORKDIR /tmp/libxml2 RUN git clone https://gitlab.gnome.org/GNOME/libxml2.git --branch $LIBXML2_VER --depth 1 . \ && ./autogen.sh \ --prefix=/usr \ - --without-debug \ + --without-catalog \ + --without-docbook \ + --without-ftp \ + --without-http \ + --without-iconv \ + --without-iso8859x \ + --without-legacy \ + --without-modules \ --without-python \ && make \ && make DESTDIR=/prefix install @@ -38,8 +45,8 @@ RUN git clone https://gitlab.gnome.org/GNOME/libxslt.git --branch $LIBXSLT_VER - && ./autogen.sh \ --prefix=/usr \ --with-libxml-src="../libxml2" \ - --without-debug \ - --without-debugger \ + --without-crypto \ + --without-plugins \ --without-python \ && make \ && make DESTDIR=/prefix install