Commit 6f6f07d5 authored by nimrod's avatar nimrod
Browse files

Skip building the man pages.

Not needed in the image.
parent 5f78a9fc
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -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