Make WordPress Core


Ignore:
Timestamp:
08/15/2019 12:33:32 AM (5 years ago)
Author:
pento
Message:

Build Tools: Change the PHPUnit Docker image's working directory to match the other images.

Also, pass the WP_MULTISITE environment variable along to the container.

See #47767.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docker-compose.yml

    r45784 r45800  
    9898      LOCAL_PHP_XDEBUG: ${LOCAL_PHP_XDEBUG-false}
    9999      LOCAL_PHP_MEMCACHED: ${LOCAL_PHP_MEMCACHED-false}
     100      WP_MULTISITE: ${WP_MULTISITE-false}
    100101
    101102    volumes:
    102103      - ./tools/local-env/phpunit-config.ini:/usr/local/etc/php/conf.d/phpunit-config.ini
    103       - ./:/wordpress-develop
    104       - phpunit-uploads:/wordpress-develop/${LOCAL_DIR-src}/wp-content/uploads
     104      - ./:/var/www
     105      - phpunit-uploads:/var/www/${LOCAL_DIR-src}/wp-content/uploads
    105106
    106107    # The init directive ensures the command runs with a PID > 1, so Ctrl+C works correctly.
Note: See TracChangeset for help on using the changeset viewer.