From: Fabio Kruger Date: Sat, 28 Mar 2020 11:38:56 +0000 (+0100) Subject: #84 Updated code according to PR comments X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=42d33e54d669ef4b33d69e8b4aecb807147d1d2d;p=roundcube-roundcubemail-docker.git #84 Updated code according to PR comments Signed-off-by: Fabio Kruger --- diff --git a/apache/Dockerfile b/apache/Dockerfile index 4e246d7..86563e8 100644 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -75,7 +75,7 @@ RUN set -ex; \ tar -xf roundcubemail.tar.gz -C /usr/src/roundcubemail --strip-components=1; \ rm -r "$GNUPGHOME" roundcubemail.tar.gz.asc roundcubemail.tar.gz; \ rm -rf /usr/src/roundcubemail/installer; \ - chown -R www-data:www-data /usr/src/roundcubemail/ + chown -R www-data:www-data /usr/src/roundcubemail/logs # include the wait-for-it.sh script RUN curl -fL https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /wait-for-it.sh && chmod +x /wait-for-it.sh diff --git a/fpm-alpine/Dockerfile b/fpm-alpine/Dockerfile index 3d900cc..1539bc7 100644 --- a/fpm-alpine/Dockerfile +++ b/fpm-alpine/Dockerfile @@ -70,7 +70,7 @@ RUN set -ex; \ tar -xf roundcubemail.tar.gz -C /usr/src/roundcubemail --strip-components=1; \ rm -r "$GNUPGHOME" roundcubemail.tar.gz.asc roundcubemail.tar.gz; \ rm -rf /usr/src/roundcubemail/installer; \ - chown -R www-data:www-data /usr/src/roundcubemail/; \ + chown -R www-data:www-data /usr/src/roundcubemail/logs; \ apk del .fetch-deps # include the wait-for-it.sh script diff --git a/fpm/Dockerfile b/fpm/Dockerfile index 7226d99..e33b85a 100644 --- a/fpm/Dockerfile +++ b/fpm/Dockerfile @@ -73,7 +73,7 @@ RUN set -ex; \ tar -xf roundcubemail.tar.gz -C /usr/src/roundcubemail --strip-components=1; \ rm -r "$GNUPGHOME" roundcubemail.tar.gz.asc roundcubemail.tar.gz; \ rm -rf /usr/src/roundcubemail/installer; \ - chown -R www-data:www-data /usr/src/roundcubemail/ + chown -R www-data:www-data /usr/src/roundcubemail/logs # include the wait-for-it.sh script RUN curl -fL https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /wait-for-it.sh && chmod +x /wait-for-it.sh