WordPress.org

Make WordPress Core

Changeset 46320


Ignore:
Timestamp:
09/26/2019 04:57:38 AM (3 months ago)
Author:
pento
Message:

Build Tools: Pass the current uid/gid to Docker containers.

This prepares for an upcoming change to the Docker images, which improves file permission handling.

See #47767.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r46290 r46320  
    2121    - NPM_INSTALL: true
    2222    - WP_INSTALL: true
     23    - PHP_FPM_UID: "`id -u`"
     24    - PHP_FPM_GID: "`id -g`"
    2325
    2426matrix:
  • trunk/docker-compose.yml

    r45885 r46320  
    4040      LOCAL_PHP_XDEBUG: ${LOCAL_PHP_XDEBUG-false}
    4141      LOCAL_PHP_MEMCACHED: ${LOCAL_PHP_MEMCACHED-false}
     42      PHP_FPM_UID: ${PHP_FPM_UID-1000}
     43      PHP_FPM_GID: ${PHP_FPM_GID-1000}
    4244
    4345    volumes:
     
    7981      LOCAL_PHP_XDEBUG: ${LOCAL_PHP_XDEBUG-false}
    8082      LOCAL_PHP_MEMCACHED: ${LOCAL_PHP_MEMCACHED-false}
     83      PHP_FPM_UID: ${PHP_FPM_UID-1000}
     84      PHP_FPM_GID: ${PHP_FPM_GID-1000}
    8185
    8286    volumes:
     
    100104      LOCAL_DIR: ${LOCAL_DIR-src}
    101105      WP_MULTISITE: ${WP_MULTISITE-false}
     106      PHP_FPM_UID: ${PHP_FPM_UID-1000}
     107      PHP_FPM_GID: ${PHP_FPM_GID-1000}
    102108
    103109    volumes:
Note: See TracChangeset for help on using the changeset viewer.