diff options
author | Rodrigo Aguilera <hi@rodrigoaguilera.net> | 2018-03-10 17:32:26 +0100 |
---|---|---|
committer | Rodrigo Aguilera <hi@rodrigoaguilera.net> | 2018-03-10 17:32:26 +0100 |
commit | 5714672aa6f2b5cbac6d5d268763bf06c607a5eb (patch) | |
tree | a63194ff648adb99dfde554cefab072ad9c20f86 | |
parent | 5c05c9eba0a97e36fca6d0e00a4da66db9544b9c (diff) |
Give ownership for www-data to /var/www
-rw-r--r-- | 11.0/apache/Dockerfile | 4 | ||||
-rw-r--r-- | 11.0/fpm-alpine/Dockerfile | 4 | ||||
-rw-r--r-- | 11.0/fpm/Dockerfile | 4 | ||||
-rw-r--r-- | 12.0/apache/Dockerfile | 4 | ||||
-rw-r--r-- | 12.0/fpm-alpine/Dockerfile | 4 | ||||
-rw-r--r-- | 12.0/fpm/Dockerfile | 4 | ||||
-rw-r--r-- | 13.0/apache/Dockerfile | 4 | ||||
-rw-r--r-- | 13.0/fpm-alpine/Dockerfile | 4 | ||||
-rw-r--r-- | 13.0/fpm/Dockerfile | 4 | ||||
-rw-r--r-- | Dockerfile-alpine.template | 4 | ||||
-rw-r--r-- | Dockerfile-debian.template | 4 |
11 files changed, 22 insertions, 22 deletions
diff --git a/11.0/apache/Dockerfile b/11.0/apache/Dockerfile index 88d14721..bc4944b3 100644 --- a/11.0/apache/Dockerfile +++ b/11.0/apache/Dockerfile @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/11.0/fpm-alpine/Dockerfile b/11.0/fpm-alpine/Dockerfile index 0e352c41..160420d4 100644 --- a/11.0/fpm-alpine/Dockerfile +++ b/11.0/fpm-alpine/Dockerfile @@ -80,8 +80,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/11.0/fpm/Dockerfile b/11.0/fpm/Dockerfile index f176960b..8f7ebc12 100644 --- a/11.0/fpm/Dockerfile +++ b/11.0/fpm/Dockerfile @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/12.0/apache/Dockerfile b/12.0/apache/Dockerfile index 28a9dde2..1f6413ae 100644 --- a/12.0/apache/Dockerfile +++ b/12.0/apache/Dockerfile @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/12.0/fpm-alpine/Dockerfile b/12.0/fpm-alpine/Dockerfile index 57ac1bc7..e8daeb53 100644 --- a/12.0/fpm-alpine/Dockerfile +++ b/12.0/fpm-alpine/Dockerfile @@ -80,8 +80,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/12.0/fpm/Dockerfile b/12.0/fpm/Dockerfile index 4202bf00..e507e9c5 100644 --- a/12.0/fpm/Dockerfile +++ b/12.0/fpm/Dockerfile @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/13.0/apache/Dockerfile b/13.0/apache/Dockerfile index b2a965f9..c8454c7e 100644 --- a/13.0/apache/Dockerfile +++ b/13.0/apache/Dockerfile @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/13.0/fpm-alpine/Dockerfile b/13.0/fpm-alpine/Dockerfile index e2c9a8d6..eb87ea02 100644 --- a/13.0/fpm-alpine/Dockerfile +++ b/13.0/fpm-alpine/Dockerfile @@ -80,8 +80,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/13.0/fpm/Dockerfile b/13.0/fpm/Dockerfile index 0e4b650a..8f623cdd 100644 --- a/13.0/fpm/Dockerfile +++ b/13.0/fpm/Dockerfile @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index b1a0f96b..41e608b9 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -80,8 +80,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html %%VARIANT_EXTRAS%% diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index a5db872a..5b73a108 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html %%VARIANT_EXTRAS%% |