Commit 6adcbfe1 authored by Fabio Montefuscolo's avatar Fabio Montefuscolo

upgrade wordpress and wp-cli

parent 3967194d
FROM montefuscolo/php
FROM montefuscolo/php:1.1
MAINTAINER Fabio Montefuscolo <fabio.montefuscolo@gmail.com>
RUN curl -s -o wp-cli.phar 'https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar?0.24.1' \
RUN curl -s -o wp-cli.phar 'https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar?0.25' \
&& chmod +x wp-cli.phar \
&& mv wp-cli.phar /usr/local/bin/wp
RUN wp core download --path=/var/www/html/ --version=4.6.1 --locale=pt_BR --allow-root
RUN wp core download --path=/var/www/html/ --version=4.7.3 --locale=pt_BR --allow-root
COPY htaccess /var/www/html/.htaccess
COPY wp-config.php /var/www/html/wp-config.php
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment