You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							18 lines
						
					
					
						
							535 B
						
					
					
				
			
		
		
	
	
							18 lines
						
					
					
						
							535 B
						
					
					
				#!/bin/bash | 
						|
set -euxo pipefail | 
						|
cd "$(dirname "$0")/.." | 
						|
source tool/common.sh | 
						|
 | 
						|
./tool/build-dev-container.sh | 
						|
 | 
						|
echo "Running development instance on http://localhost. To access it in an Android Emulator use http://10.0.2.2" | 
						|
 | 
						|
container="$(docker run -d --rm -v nextcloud-neon-dev:/usr/src/nextcloud -v nextcloud-neon-dev:/var/www/html -p "80:80" --add-host=host.docker.internal:host-gateway "$(image_tag "dev:latest")")" | 
						|
function cleanup() { | 
						|
    docker kill "$container" | 
						|
} | 
						|
trap cleanup EXIT | 
						|
 | 
						|
docker logs -f "$container" & | 
						|
 | 
						|
sleep infinity
 | 
						|
 |