0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-16 00:04:48 +02:00

alpine-fpm images

This commit is contained in:
Blagovest Petrov 2017-03-16 21:49:03 +02:00
parent 2fcbef5c18
commit 1e35ad9f70
6 changed files with 240 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#!/bin/ash
set -e
if [ ! -e '/var/www/html/version.php' ]; then
tar cf - --one-file-system -C /usr/src/nextcloud . | tar xf -
chown -R www-data /var/www/html
fi
if [ -n "$TZ"]; then
cp /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
fi
exec "$@"