From 1df9a5db2cc01382d503c12dd0ffc5c8a1b2e6e6 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Sat, 23 Nov 2024 16:31:10 +0100 Subject: [PATCH] Local Env: change user (#13850) --- bin/local-env/docker-compose.yml | 1 - bin/local-env/includes.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/local-env/docker-compose.yml b/bin/local-env/docker-compose.yml index 49364c390245..309082a3b59b 100644 --- a/bin/local-env/docker-compose.yml +++ b/bin/local-env/docker-compose.yml @@ -26,7 +26,6 @@ services: cli: image: wordpress:cli-php${PHP_VERSION:-8.2} - user: xfs environment: WORDPRESS_DB_HOST: mysql WORDPRESS_DB_USER: root diff --git a/bin/local-env/includes.sh b/bin/local-env/includes.sh index 0239cff20cb5..ff4040c97151 100755 --- a/bin/local-env/includes.sh +++ b/bin/local-env/includes.sh @@ -161,7 +161,7 @@ dc() { # Executes a WP CLI request in the CLI container. ## wp() { - dc exec -T -u xfs $CLI wp "$@" + dc exec -T -u 33:33 $CLI wp "$@" } ##