Skip to content

Commit 079f980

Browse files
committed
Pull the latest wordpress-cli image.
* The latest image doesn't have a user associated with the www-data UID in the WP Image. * So explicitly use the UID and GID of the user that created the resource files.
1 parent c52c4e4 commit 079f980

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/end_to_end_tests/wordpress-compose.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ services:
3232
MYSQL_RANDOM_ROOT_PASSWORD: '1'
3333

3434
test_wpcli:
35-
user: xfs
35+
# 33:33 is the UID of the www-data user that created the WP files.
36+
# There isn't a user associated with this UID in the newest WordPress cli container.
37+
user: "33:33"
3638
image: wordpress:cli
3739
depends_on:
3840
- test_wordpress

0 commit comments

Comments
 (0)