mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-16 08:14:46 +02:00
Separate image tag directories
This commit is contained in:
parent
8fb6f75402
commit
975d7d8dbf
4 changed files with 71 additions and 0 deletions
13
php5.6/fpm/docker-entrypoint.sh
Executable file
13
php5.6/fpm/docker-entrypoint.sh
Executable 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 "$@"
|
Loading…
Add table
Add a link
Reference in a new issue