Skip to content

Commit b045ba7

Browse files
committed
Add "--enable-option-checking=fatal" to ./configure invocations
1 parent fbb775a commit b045ba7

File tree

33 files changed

+99
-0
lines changed

33 files changed

+99
-0
lines changed

5.6/alpine3.4/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ RUN set -xe \
112112
--with-config-file-path="$PHP_INI_DIR" \
113113
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
114114
\
115+
# make sure invalid --configure-flags are fatal errors intead of just warnings
116+
--enable-option-checking=fatal \
117+
\
115118
--disable-cgi \
116119
\
117120
# https://github.com/docker-library/php/issues/439

5.6/alpine3.4/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ RUN set -xe \
113113
--with-config-file-path="$PHP_INI_DIR" \
114114
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
115115
\
116+
# make sure invalid --configure-flags are fatal errors intead of just warnings
117+
--enable-option-checking=fatal \
118+
\
116119
--disable-cgi \
117120
\
118121
# https://github.com/docker-library/php/issues/439

5.6/alpine3.4/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ RUN set -xe \
113113
--with-config-file-path="$PHP_INI_DIR" \
114114
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
115115
\
116+
# make sure invalid --configure-flags are fatal errors intead of just warnings
117+
--enable-option-checking=fatal \
118+
\
116119
--disable-cgi \
117120
\
118121
# https://github.com/docker-library/php/issues/439

5.6/jessie/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ RUN set -eux; \
191191
--with-config-file-path="$PHP_INI_DIR" \
192192
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
193193
\
194+
# make sure invalid --configure-flags are fatal errors intead of just warnings
195+
--enable-option-checking=fatal \
196+
\
194197
--disable-cgi \
195198
\
196199
# https://github.com/docker-library/php/issues/439

5.6/jessie/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ RUN set -eux; \
132132
--with-config-file-path="$PHP_INI_DIR" \
133133
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
134134
\
135+
# make sure invalid --configure-flags are fatal errors intead of just warnings
136+
--enable-option-checking=fatal \
137+
\
135138
--disable-cgi \
136139
\
137140
# https://github.com/docker-library/php/issues/439

5.6/jessie/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ RUN set -eux; \
133133
--with-config-file-path="$PHP_INI_DIR" \
134134
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
135135
\
136+
# make sure invalid --configure-flags are fatal errors intead of just warnings
137+
--enable-option-checking=fatal \
138+
\
136139
--disable-cgi \
137140
\
138141
# https://github.com/docker-library/php/issues/439

5.6/jessie/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ RUN set -eux; \
133133
--with-config-file-path="$PHP_INI_DIR" \
134134
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
135135
\
136+
# make sure invalid --configure-flags are fatal errors intead of just warnings
137+
--enable-option-checking=fatal \
138+
\
136139
--disable-cgi \
137140
\
138141
# https://github.com/docker-library/php/issues/439

7.0/alpine3.4/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ RUN set -xe \
112112
--with-config-file-path="$PHP_INI_DIR" \
113113
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
114114
\
115+
# make sure invalid --configure-flags are fatal errors intead of just warnings
116+
--enable-option-checking=fatal \
117+
\
115118
--disable-cgi \
116119
\
117120
# https://github.com/docker-library/php/issues/439

7.0/alpine3.4/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ RUN set -xe \
113113
--with-config-file-path="$PHP_INI_DIR" \
114114
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
115115
\
116+
# make sure invalid --configure-flags are fatal errors intead of just warnings
117+
--enable-option-checking=fatal \
118+
\
116119
--disable-cgi \
117120
\
118121
# https://github.com/docker-library/php/issues/439

7.0/alpine3.4/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ RUN set -xe \
113113
--with-config-file-path="$PHP_INI_DIR" \
114114
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
115115
\
116+
# make sure invalid --configure-flags are fatal errors intead of just warnings
117+
--enable-option-checking=fatal \
118+
\
116119
--disable-cgi \
117120
\
118121
# https://github.com/docker-library/php/issues/439

7.0/jessie/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ RUN set -eux; \
191191
--with-config-file-path="$PHP_INI_DIR" \
192192
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
193193
\
194+
# make sure invalid --configure-flags are fatal errors intead of just warnings
195+
--enable-option-checking=fatal \
196+
\
194197
--disable-cgi \
195198
\
196199
# https://github.com/docker-library/php/issues/439

7.0/jessie/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ RUN set -eux; \
132132
--with-config-file-path="$PHP_INI_DIR" \
133133
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
134134
\
135+
# make sure invalid --configure-flags are fatal errors intead of just warnings
136+
--enable-option-checking=fatal \
137+
\
135138
--disable-cgi \
136139
\
137140
# https://github.com/docker-library/php/issues/439

7.0/jessie/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ RUN set -eux; \
133133
--with-config-file-path="$PHP_INI_DIR" \
134134
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
135135
\
136+
# make sure invalid --configure-flags are fatal errors intead of just warnings
137+
--enable-option-checking=fatal \
138+
\
136139
--disable-cgi \
137140
\
138141
# https://github.com/docker-library/php/issues/439

7.0/jessie/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ RUN set -eux; \
133133
--with-config-file-path="$PHP_INI_DIR" \
134134
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
135135
\
136+
# make sure invalid --configure-flags are fatal errors intead of just warnings
137+
--enable-option-checking=fatal \
138+
\
136139
--disable-cgi \
137140
\
138141
# https://github.com/docker-library/php/issues/439

7.1/alpine3.4/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ RUN set -xe \
112112
--with-config-file-path="$PHP_INI_DIR" \
113113
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
114114
\
115+
# make sure invalid --configure-flags are fatal errors intead of just warnings
116+
--enable-option-checking=fatal \
117+
\
115118
--disable-cgi \
116119
\
117120
# https://github.com/docker-library/php/issues/439

7.1/alpine3.4/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ RUN set -xe \
113113
--with-config-file-path="$PHP_INI_DIR" \
114114
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
115115
\
116+
# make sure invalid --configure-flags are fatal errors intead of just warnings
117+
--enable-option-checking=fatal \
118+
\
116119
--disable-cgi \
117120
\
118121
# https://github.com/docker-library/php/issues/439

7.1/alpine3.4/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ RUN set -xe \
113113
--with-config-file-path="$PHP_INI_DIR" \
114114
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
115115
\
116+
# make sure invalid --configure-flags are fatal errors intead of just warnings
117+
--enable-option-checking=fatal \
118+
\
116119
--disable-cgi \
117120
\
118121
# https://github.com/docker-library/php/issues/439

7.1/jessie/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ RUN set -eux; \
191191
--with-config-file-path="$PHP_INI_DIR" \
192192
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
193193
\
194+
# make sure invalid --configure-flags are fatal errors intead of just warnings
195+
--enable-option-checking=fatal \
196+
\
194197
--disable-cgi \
195198
\
196199
# https://github.com/docker-library/php/issues/439

7.1/jessie/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ RUN set -eux; \
132132
--with-config-file-path="$PHP_INI_DIR" \
133133
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
134134
\
135+
# make sure invalid --configure-flags are fatal errors intead of just warnings
136+
--enable-option-checking=fatal \
137+
\
135138
--disable-cgi \
136139
\
137140
# https://github.com/docker-library/php/issues/439

7.1/jessie/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ RUN set -eux; \
133133
--with-config-file-path="$PHP_INI_DIR" \
134134
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
135135
\
136+
# make sure invalid --configure-flags are fatal errors intead of just warnings
137+
--enable-option-checking=fatal \
138+
\
136139
--disable-cgi \
137140
\
138141
# https://github.com/docker-library/php/issues/439

7.1/jessie/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ RUN set -eux; \
133133
--with-config-file-path="$PHP_INI_DIR" \
134134
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
135135
\
136+
# make sure invalid --configure-flags are fatal errors intead of just warnings
137+
--enable-option-checking=fatal \
138+
\
136139
--disable-cgi \
137140
\
138141
# https://github.com/docker-library/php/issues/439

7.2/alpine3.6/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ RUN set -xe \
113113
--with-config-file-path="$PHP_INI_DIR" \
114114
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
115115
\
116+
# make sure invalid --configure-flags are fatal errors intead of just warnings
117+
--enable-option-checking=fatal \
118+
\
116119
--disable-cgi \
117120
\
118121
# https://github.com/docker-library/php/issues/439

7.2/alpine3.6/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ RUN set -xe \
114114
--with-config-file-path="$PHP_INI_DIR" \
115115
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
116116
\
117+
# make sure invalid --configure-flags are fatal errors intead of just warnings
118+
--enable-option-checking=fatal \
119+
\
117120
--disable-cgi \
118121
\
119122
# https://github.com/docker-library/php/issues/439

7.2/alpine3.6/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ RUN set -xe \
114114
--with-config-file-path="$PHP_INI_DIR" \
115115
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
116116
\
117+
# make sure invalid --configure-flags are fatal errors intead of just warnings
118+
--enable-option-checking=fatal \
119+
\
117120
--disable-cgi \
118121
\
119122
# https://github.com/docker-library/php/issues/439

7.2/alpine3.7/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ RUN set -xe \
113113
--with-config-file-path="$PHP_INI_DIR" \
114114
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
115115
\
116+
# make sure invalid --configure-flags are fatal errors intead of just warnings
117+
--enable-option-checking=fatal \
118+
\
116119
--disable-cgi \
117120
\
118121
# https://github.com/docker-library/php/issues/439

7.2/alpine3.7/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ RUN set -xe \
114114
--with-config-file-path="$PHP_INI_DIR" \
115115
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
116116
\
117+
# make sure invalid --configure-flags are fatal errors intead of just warnings
118+
--enable-option-checking=fatal \
119+
\
117120
--disable-cgi \
118121
\
119122
# https://github.com/docker-library/php/issues/439

7.2/alpine3.7/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ RUN set -xe \
114114
--with-config-file-path="$PHP_INI_DIR" \
115115
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
116116
\
117+
# make sure invalid --configure-flags are fatal errors intead of just warnings
118+
--enable-option-checking=fatal \
119+
\
117120
--disable-cgi \
118121
\
119122
# https://github.com/docker-library/php/issues/439

7.2/stretch/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ RUN set -eux; \
193193
--with-config-file-path="$PHP_INI_DIR" \
194194
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
195195
\
196+
# make sure invalid --configure-flags are fatal errors intead of just warnings
197+
--enable-option-checking=fatal \
198+
\
196199
--disable-cgi \
197200
\
198201
# https://github.com/docker-library/php/issues/439

7.2/stretch/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ RUN set -eux; \
134134
--with-config-file-path="$PHP_INI_DIR" \
135135
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
136136
\
137+
# make sure invalid --configure-flags are fatal errors intead of just warnings
138+
--enable-option-checking=fatal \
139+
\
137140
--disable-cgi \
138141
\
139142
# https://github.com/docker-library/php/issues/439

7.2/stretch/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ RUN set -eux; \
135135
--with-config-file-path="$PHP_INI_DIR" \
136136
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
137137
\
138+
# make sure invalid --configure-flags are fatal errors intead of just warnings
139+
--enable-option-checking=fatal \
140+
\
138141
--disable-cgi \
139142
\
140143
# https://github.com/docker-library/php/issues/439

7.2/stretch/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ RUN set -eux; \
135135
--with-config-file-path="$PHP_INI_DIR" \
136136
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
137137
\
138+
# make sure invalid --configure-flags are fatal errors intead of just warnings
139+
--enable-option-checking=fatal \
140+
\
138141
--disable-cgi \
139142
\
140143
# https://github.com/docker-library/php/issues/439

Dockerfile-alpine.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ RUN set -xe \
107107
--with-config-file-path="$PHP_INI_DIR" \
108108
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
109109
\
110+
# make sure invalid --configure-flags are fatal errors intead of just warnings
111+
--enable-option-checking=fatal \
112+
\
110113
--disable-cgi \
111114
\
112115
# https://github.com/docker-library/php/issues/439

Dockerfile-debian.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ RUN set -eux; \
128128
--with-config-file-path="$PHP_INI_DIR" \
129129
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
130130
\
131+
# make sure invalid --configure-flags are fatal errors intead of just warnings
132+
--enable-option-checking=fatal \
133+
\
131134
--disable-cgi \
132135
\
133136
# https://github.com/docker-library/php/issues/439

0 commit comments

Comments
 (0)