#84 Updated code according to PR comments

Signed-off-by: Fabio Kruger <krufab@gmail.com>
This commit is contained in:
Fabio Kruger 2020-03-28 12:38:56 +01:00
parent 38a485b3f1
commit 42d33e54d6
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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