File tree 3 files changed +11
-2
lines changed
3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -334,6 +334,9 @@ RUN make && make install
334
334
RUN LD_LIBRARY_PATH= yum install -y readline-devel gettext-devel libicu-devel libxslt-devel sqlite-devel
335
335
336
336
337
+ # Note: this variable is used when building extra/custom extensions, do not remove
338
+ ENV PHP_BUILD_DIR=/tmp/php
339
+
337
340
# PHP Build
338
341
# https://github.com/php/php-src/releases
339
342
# Needs:
@@ -342,8 +345,8 @@ RUN LD_LIBRARY_PATH= yum install -y readline-devel gettext-devel libicu-devel li
342
345
# - openssl
343
346
# - readline
344
347
# - sodium
345
- RUN mkdir -p /tmp/php
346
- WORKDIR /tmp/php
348
+ RUN mkdir -p ${PHP_BUILD_DIR}
349
+ WORKDIR ${PHP_BUILD_DIR}
347
350
348
351
# Download and unpack the source code
349
352
# --location will follow redirects
Original file line number Diff line number Diff line change @@ -334,6 +334,9 @@ RUN make && make install
334
334
RUN LD_LIBRARY_PATH= yum install -y readline-devel gettext-devel libicu-devel libxslt-devel sqlite-devel
335
335
336
336
337
+ # Note: this variable is used when building extra/custom extensions, do not remove
338
+ ENV PHP_BUILD_DIR=/tmp/php
339
+
337
340
# PHP Build
338
341
# https://github.com/php/php-src/releases
339
342
# Needs:
Original file line number Diff line number Diff line change @@ -334,6 +334,9 @@ RUN make && make install
334
334
RUN LD_LIBRARY_PATH= yum install -y readline-devel gettext-devel libicu-devel libxslt-devel sqlite-devel
335
335
336
336
337
+ # Note: this variable is used when building extra/custom extensions, do not remove
338
+ ENV PHP_BUILD_DIR=/tmp/php
339
+
337
340
# PHP Build
338
341
# https://github.com/php/php-src/releases
339
342
# Needs:
You can’t perform that action at this time.
0 commit comments