Last active
October 31, 2018 16:10
-
-
Save karrikas/84808a12a4ea6386572c80bdf2231ba9 to your computer and use it in GitHub Desktop.
Docker, Install wordpres cli in wordpress docker wp-cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM wordpress:latest | |
WORKDIR /var/www/html | |
RUN apt-get update | |
RUN apt-get install -y curl \ | |
gnupg | |
RUN curl -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
RUN chmod +x /usr/local/bin/wp | |
RUN wp --info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment