From 6f6f07d52bd9ba0f2dba2e98bb5d338c530356a0 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 19 Dec 2020 19:23:07 +0200 Subject: [PATCH] Skip building the man pages. Not needed in the image. --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index cc1055b..c7e259c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,6 @@ RUN apk add --update --no-cache \ flex \ libev-dev \ openssl-dev \ - py3-docutils \ ; ARG Version ENV VERSION="$Version" @@ -19,10 +18,10 @@ RUN wget "https://github.com/varnish/hitch/archive/${VERSION}.tar.gz" && \ tar --no-same-owner --no-same-permissions -xzf "${VERSION}.tar.gz" ENV LDFLAGS="--static" WORKDIR /hitch-$Version -RUN ./bootstrap && \ - make && \ - make install -RUN make check +RUN ./bootstrap --disable-documentation && \ + make ENABLE_DOCUMENTATION=0 && \ + make install && \ + make check FROM alpine:$AlpineVersion # hadolint ignore=DL3018 -- GitLab