Skip to content

Commit 3ea97ab

Browse files
committed
Use quiet pulls during local environment installation and WP-CLI commands.
1 parent e114dfb commit 3ea97ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/local-env/scripts/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ wait_on( { resources: [ `tcp:localhost:${process.env.LOCAL_PORT}`] } )
5555
function wp_cli( cmd ) {
5656
const composeFiles = local_env_utils.get_compose_files();
5757

58-
execSync( `docker compose ${composeFiles} run --rm cli ${cmd}`, { stdio: 'inherit' } );
58+
execSync( `docker compose ${composeFiles} run --quiet-pull --rm cli ${cmd}`, { stdio: 'inherit' } );
5959
}
6060

6161
/**

tools/local-env/scripts/start.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ try {
3131
const containers = ( process.env.LOCAL_PHP_MEMCACHED === 'true' )
3232
? 'wordpress-develop memcached'
3333
: 'wordpress-develop';
34-
execSync( `docker compose ${composeFiles} up -d ${containers}`, { stdio: 'inherit' } );
34+
execSync( `docker compose ${composeFiles} up --quiet-pull -d ${containers}`, { stdio: 'inherit' } );
3535

3636
// If Docker Toolbox is being used, we need to manually forward LOCAL_PORT to the Docker VM.
3737
if ( process.env.DOCKER_TOOLBOX_INSTALL_PATH ) {

0 commit comments

Comments
 (0)