From a65190ee4945eed15d149b34914cb91d82c1d2f1 Mon Sep 17 00:00:00 2001 From: Benjamin Bock Date: Wed, 15 Nov 2023 14:04:15 +0100 Subject: [PATCH] Add php symlink to php82 executable. Fixes #43 --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 02977e90..706be7ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,6 +62,9 @@ RUN curl -o wordpress.tar.gz -SL https://wordpress.org/wordpress-${WORDPRESS_VER && rm wordpress.tar.gz \ && chown -R nobody.nobody /usr/src/wordpress +# Create symlink for php +RUN ln -s /usr/bin/php82 /usr/bin/php + # Add WP CLI RUN curl -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ && chmod +x /usr/local/bin/wp