mirror of
				https://github.com/nextcloud/docker.git
				synced 2025-10-31 16:31:16 +01:00 
			
		
		
		
	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>
		
			
				
	
	
		
			10 lines
		
	
	
		
			182 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			182 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/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 "$@"
 |