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
RUN cd /root && curl -O
COPY init/ /init/
......@@ -4,7 +4,6 @@ if [ $# -lt 4 ]; then
echo Unpacking latest WordPress into /data/www-content...
curl -O
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