File tree 4 files changed +7
-0
lines changed
4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ RUN set -ex \
205
205
echo; \
206
206
echo '; Ensure worker stdout and stderr are sent to the main error log.' ; \
207
207
echo 'catch_workers_output = yes' ; \
208
+ echo 'decorate_workers_output = no' ; \
208
209
} | tee php-fpm.d/docker.conf \
209
210
&& { \
210
211
echo '[global]' ; \
Original file line number Diff line number Diff line change @@ -244,6 +244,7 @@ RUN set -ex \
244
244
echo; \
245
245
echo '; Ensure worker stdout and stderr are sent to the main error log.' ; \
246
246
echo 'catch_workers_output = yes' ; \
247
+ echo 'decorate_workers_output = no' ; \
247
248
} | tee php-fpm.d/docker.conf \
248
249
&& { \
249
250
echo '[global]' ; \
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ RUN set -ex \
27
27
echo; \
28
28
echo '; Ensure worker stdout and stderr are sent to the main error log.'; \
29
29
echo 'catch_workers_output = yes'; \
30
+ echo 'decorate_workers_output = no'; \
30
31
} | tee php-fpm.d/docker.conf \
31
32
&& { \
32
33
echo '[global]'; \
Original file line number Diff line number Diff line change @@ -175,6 +175,10 @@ for version in "${versions[@]}"; do
175
175
# php 5 still needs older ssl
176
176
sed -ri ' s/libssl-dev/libssl1.0-dev/g' " $version /$suite /$variant /Dockerfile"
177
177
fi
178
+ if [ " $variant " = ' fpm' -a " $majorVersion " = ' 5' ] || [ " $variant " = ' fpm' -a " $majorVersion " = ' 7' -a " $minorVersion " -lt ' 3' ]; then
179
+ # php-fpm "decorate_workers_output" is only available in 7.3+
180
+ sed -ri ' /decorate_workers_output/d' " $version /$suite /$variant /Dockerfile"
181
+ fi
178
182
179
183
# remove any _extra_ blank lines created by the deletions above
180
184
awk '
You can’t perform that action at this time.
0 commit comments