Copy 2.2-alpine compile args from 2.2, and remove useless dirs

This commit is contained in:
Feng Yu 2016-11-24 00:19:07 +08:00
parent 89a75f8fd3
commit e9ddf34d44
2 changed files with 5 additions and 3 deletions

View File

@ -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' \

View File

@ -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' \