mirror of
				https://github.com/casjaysdevdocker/enclosed
				synced 2025-11-03 19:02:33 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				release-tag / release-image (push) Successful in 3m17s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	release-tag / release-image (push) Successful in 3m17s
				
			rootfs/root/docker/setup/02-packages.sh rootfs/usr/local/etc/docker/init.d/00-enclosed.sh
This commit is contained in:
		@@ -24,10 +24,17 @@ set -o pipefail
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# Set env variables
 | 
			
		||||
exitCode=0
 | 
			
		||||
 | 
			
		||||
node_bin="$(type -P nodejs)"
 | 
			
		||||
enclosed_bin="/usr/bin/enclosed"
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# Predifined actions
 | 
			
		||||
[ -d "/etc/nginx" ] && rm -Rf /etc/nginx/*
 | 
			
		||||
if [ -d "/etc/nginx" ]: then
 | 
			
		||||
  rm -Rf /etc/nginx/*
 | 
			
		||||
fi
 | 
			
		||||
if [ -n "$node_bin" ]; then
 | 
			
		||||
  copy "$node_bin" "$enclosed_bin"
 | 
			
		||||
  chmod -f 755 "$enclosed_bin"
 | 
			
		||||
fi
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# Main script
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user