0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-07 12:54:47 +02:00

version: move to separate versions and variants

In order to match ownCloud's Docker images, we need to provide -apache
and -fpm variant images as well as maintaining version tags for older
images.

These scripts are improved versions of the ownCloud scripts[1] because
they also automatically generate the directories with each ./update.sh,
and also generate all aliases without needing human intervention.

[1]: https://github.com/docker-library/owncloud/blob/master/generate-stackbrew-library.sh

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
Aleksa Sarai 2016-11-30 04:56:52 +11:00
parent c34d30fb49
commit 3efc37c756
No known key found for this signature in database
GPG key ID: 4A7BE7BF70DE9B9F
9 changed files with 275 additions and 1 deletions

View file

@ -0,0 +1,9 @@
#!/bin/bash
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
exec "$@"