Skip to content

Commit bc1a930

Browse files
committed
fix(EV-04): pin wordpress:6.6 to fix wp-cli compatibility
wordpress:latest (6.7+) changed wp-config.php format, breaking wp-cli with 'Strange wp-config.php file: wp-settings.php is not loaded directly'. This caused the container to crash-loop and never become healthy. Pin to 6.6 which is the last version compatible with the bundled wp-cli.
1 parent 12e6491 commit bc1a930

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web_exploitation/EV-04/application/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM wordpress:latest
1+
FROM wordpress:6.6
22

33
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
44
&& chmod +x wp-cli.phar \

0 commit comments

Comments
 (0)