Build Tools: Pass the LOCAL_DIR environment variable through to the phpunit Docker container.

This allows code running inside the container to know whether it's supposed to be running in `build` or `src`.

See #47767.



git-svn-id: https://develop.svn.wordpress.org/trunk@45885 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2019-08-23 01:55:28 +00:00
parent ff36b9664f
commit ece257ffd0

View File

@ -97,6 +97,7 @@ services:
environment: environment:
LOCAL_PHP_XDEBUG: ${LOCAL_PHP_XDEBUG-false} LOCAL_PHP_XDEBUG: ${LOCAL_PHP_XDEBUG-false}
LOCAL_PHP_MEMCACHED: ${LOCAL_PHP_MEMCACHED-false} LOCAL_PHP_MEMCACHED: ${LOCAL_PHP_MEMCACHED-false}
LOCAL_DIR: ${LOCAL_DIR-src}
WP_MULTISITE: ${WP_MULTISITE-false} WP_MULTISITE: ${WP_MULTISITE-false}
volumes: volumes: