Commit c06b7a57 authored by Michiel de Jong's avatar Michiel de Jong

put wp-cli.phar in /root

parent 9780f816
......@@ -7,6 +7,6 @@ RUN apt-get update \
pwgen \
&& rm -rf /var/lib/apt/lists/*
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
RUN cd /root && curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
COPY init/wordpress.sh /init/wordpress.sh
......@@ -4,7 +4,6 @@ if [ $# -lt 4 ]; then
fi
echo Unpacking latest WordPress into /data/www-content...
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
php /root/wp-cli.phar --path="/data/www-content" --allow-root core download
php /root/wp-cli.phar --path="/data/www-content" --allow-root core config --dbname=wordpress --dbuser=root
php /root/wp-cli.phar --path="/data/www-content" --allow-root db create
......
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