Give ownership for www-data to /var/www

This commit is contained in:
Rodrigo Aguilera 2018-03-10 17:32:26 +01:00
parent 5c05c9eba0
commit 5714672aa6
11 changed files with 22 additions and 22 deletions

View File

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View File

@ -80,8 +80,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View File

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View File

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View File

@ -80,8 +80,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View File

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View File

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View File

@ -80,8 +80,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View File

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html

View File

@ -80,8 +80,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html
%%VARIANT_EXTRAS%% %%VARIANT_EXTRAS%%

View File

@ -89,8 +89,8 @@ RUN { \
echo 'opcache.revalidate_freq=1'; \ echo 'opcache.revalidate_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\ \
chown -R www-data:root /var/www/html; \ chown -R www-data:root /var/www; \
chmod -R g=u /var/www/html chmod -R g=u /var/www
VOLUME /var/www/html VOLUME /var/www/html
%%VARIANT_EXTRAS%% %%VARIANT_EXTRAS%%