Skip to content
Snippets Groups Projects
Commit 43fab79f authored by Maciej Osyda's avatar Maciej Osyda
Browse files

Added execute rights to install script

parent b2310cbf
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install unzip curl ...@@ -6,7 +6,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install unzip curl
ADD run.sh /run.sh ADD run.sh /run.sh
RUN chmod +x /run.sh RUN chmod +x /run.sh
RUN mkdir -p /var/www/html RUN mkdir -p /var/www/html
ADD install-wc.sh /var/www/html/install-wc.sh ADD install-wc.sh /var/www/html/install-wc.sh
RUN chmod +x /var/www/html/install-wc.sh
# apache config # apache config
ENV APACHE_RUN_USER www-data ENV APACHE_RUN_USER www-data
......
#!/bin/bash #!/bin/bash
chmod +x /var/www/html/install-wc.sh
curl -O -s https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar curl -O -s https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar chmod +x wp-cli.phar
sudo mv wp-cli.phar /var/www/html/wp-cli sudo mv wp-cli.phar /var/www/html/wp-cli
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment