Shuffling around order of optional arguments so as to override default configure options.

This commit is contained in:
Alex Wilson 2016-07-28 14:31:33 +01:00
parent cd1769f395
commit 5842c49fd9
No known key found for this signature in database
GPG Key ID: DE2036C6B4D2F38E
2 changed files with 2 additions and 2 deletions

View File

@ -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; } \

View File

@ -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; } \