Skip to content

Commit

Permalink
Pull the latest wordpress-cli image.
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
Jack-Dane committed Jul 2, 2024
1 parent 2b8ca4d commit df3ef43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/end_to_end_tests/wordpress-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ services:
MYSQL_RANDOM_ROOT_PASSWORD: '1'

test_wpcli:
user: xfs
# 33:33 is the UID of the www-data user that created the WP files.
# There isn't a user associated with this UID in the newest WordPress cli container.
user: "33:33"
image: wordpress:cli
depends_on:
- test_wordpress
Expand Down

0 comments on commit df3ef43

Please sign in to comment.