Copy 2.2-alpine compile args from 2.2, and remove useless dirs
This commit is contained in:
parent
89a75f8fd3
commit
e9ddf34d44
|
|
@ -67,7 +67,7 @@ RUN set -x \
|
||||||
&& make install \
|
&& make install \
|
||||||
\
|
\
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
&& rm -r src \
|
&& rm -r src build man manual \
|
||||||
\
|
\
|
||||||
&& sed -ri \
|
&& sed -ri \
|
||||||
-e 's!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g' \
|
-e 's!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g' \
|
||||||
|
|
|
||||||
|
|
@ -57,12 +57,14 @@ RUN set -x \
|
||||||
\
|
\
|
||||||
&& ./configure \
|
&& ./configure \
|
||||||
--prefix="$HTTPD_PREFIX" \
|
--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 -j"$(getconf _NPROCESSORS_ONLN)" \
|
||||||
&& make install \
|
&& make install \
|
||||||
\
|
\
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
&& rm -r src \
|
&& rm -r src build man manual \
|
||||||
\
|
\
|
||||||
&& sed -ri \
|
&& sed -ri \
|
||||||
-e 's!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g' \
|
-e 's!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g' \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue