Skip to content

Commit

Permalink
install wp-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
ssig33 authored Aug 26, 2022
1 parent 9a62669 commit 11785c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM php:8.1-apache
COPY php.ini /usr/local/etc/php/
RUN apt-get update && apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev libonig-dev
RUN apt-get update && apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev libonig-dev wget
RUN docker-php-ext-install mysqli mbstring gd
RUN apt-get update && apt-get install -y imagemagick libmagickwand-dev && pecl install imagick && docker-php-ext-enable imagick

RUN wget https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -O /usr/local/bin/wp-cli
RUN chmod +x /usr/local/bin/wp-cli

0 comments on commit 11785c5

Please sign in to comment.