Skip to content

Commit 7ebded8

Browse files
committed
feat: install WP-CLI in Dockerfile
1 parent 7fe888d commit 7ebded8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

php84/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ WORKDIR /var/dev
3232

3333
## Install Ext
3434
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
35-
RUN install-php-extensions soap pcntl bcmath gd exif sockets zip xdebug redis intl pdo_pgsql pgsql pdo_mysql mysqli
35+
RUN install-php-extensions soap pcntl bcmath gd exif sockets zip xdebug redis intl pdo_pgsql pgsql pdo_mysql mysqli imagick curl fileinfo xml mbstring sodium bcmath
36+
37+
# Install WP-CLI
38+
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && \
39+
chmod +x wp-cli.phar && \
40+
mv wp-cli.phar /usr/local/bin/wp
3641

3742
USER csdev
3843

0 commit comments

Comments
 (0)