diff --git a/2.2/Dockerfile b/2.2/Dockerfile index f3743eb..3b12d3e 100644 --- a/2.2/Dockerfile +++ b/2.2/Dockerfile @@ -67,7 +67,7 @@ RUN set -x \ && make install \ \ && cd .. \ - && rm -r src \ + && rm -r src build man manual \ \ && sed -ri \ -e 's!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g' \ diff --git a/2.2/alpine/Dockerfile b/2.2/alpine/Dockerfile index 8bd56c2..368b50e 100644 --- a/2.2/alpine/Dockerfile +++ b/2.2/alpine/Dockerfile @@ -57,12 +57,14 @@ RUN set -x \ \ && ./configure \ --prefix="$HTTPD_PREFIX" \ - --enable-mods-shared=reallyall \ +# https://httpd.apache.org/docs/2.2/programs/configure.html +# Caveat: --enable-mods-shared=all does not actually build all modules. To build all modules then, one might use: + --enable-mods-shared='all ssl ldap cache proxy authn_alias mem_cache file_cache authnz_ldap charset_lite dav_lock disk_cache' \ && make -j"$(getconf _NPROCESSORS_ONLN)" \ && make install \ \ && cd .. \ - && rm -r src \ + && rm -r src build man manual \ \ && sed -ri \ -e 's!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g' \