mirror of
https://github.com/danog/php.git
synced 2024-11-30 04:29:16 +01:00
Shuffling around order of optional arguments so as to override default configure options.
This commit is contained in:
parent
cd1769f395
commit
5842c49fd9
@ -68,7 +68,6 @@ RUN set -xe \
|
||||
&& ./configure \
|
||||
--with-config-file-path="$PHP_INI_DIR" \
|
||||
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
|
||||
$PHP_EXTRA_CONFIGURE_ARGS \
|
||||
--disable-cgi \
|
||||
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
|
||||
--enable-mysqlnd \
|
||||
@ -78,6 +77,7 @@ RUN set -xe \
|
||||
--with-libedit \
|
||||
--with-openssl \
|
||||
--with-zlib \
|
||||
$PHP_EXTRA_CONFIGURE_ARGS \
|
||||
&& make -j"$(getconf _NPROCESSORS_ONLN)" \
|
||||
&& make install \
|
||||
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
|
||||
|
@ -61,7 +61,6 @@ RUN set -xe \
|
||||
&& ./configure \
|
||||
--with-config-file-path="$PHP_INI_DIR" \
|
||||
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
|
||||
$PHP_EXTRA_CONFIGURE_ARGS \
|
||||
--disable-cgi \
|
||||
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
|
||||
--enable-mysqlnd \
|
||||
@ -71,6 +70,7 @@ RUN set -xe \
|
||||
--with-libedit \
|
||||
--with-openssl \
|
||||
--with-zlib \
|
||||
$PHP_EXTRA_CONFIGURE_ARGS \
|
||||
&& make -j"$(nproc)" \
|
||||
&& make install \
|
||||
&& { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } \
|
||||
|
Loading…
Reference in New Issue
Block a user