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:
parent
c34d30fb49
commit
3efc37c756
9 changed files with 275 additions and 1 deletions
9
10.0/apache/docker-entrypoint.sh
Executable file
9
10.0/apache/docker-entrypoint.sh
Executable 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 "$@"
|
Loading…
Add table
Add a link
Reference in a new issue