Skip to content

Commit 05b549c

Browse files
bbTrafeX
authored andcommitted
Add php symlink to php82 executable. Fixes #43
1 parent e9d2d43 commit 05b549c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ RUN curl -o wordpress.tar.gz -SL https://wordpress.org/wordpress-${WORDPRESS_VER
6262
&& rm wordpress.tar.gz \
6363
&& chown -R nobody.nobody /usr/src/wordpress
6464

65+
# Create symlink for php
66+
RUN ln -s /usr/bin/php82 /usr/bin/php
67+
6568
# Add WP CLI
6669
RUN curl -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
6770
&& chmod +x /usr/local/bin/wp

0 commit comments

Comments
 (0)