The Docker image is used in the initialization process, to copy everything in the custom folder to the Gitea data dir (mounted as a persistent volume). It is built using Packer and is based on the busybox image, so we can use its minimalist shell system to copy files and set permissions
		
			
				
	
	
		
			8 lines
		
	
	
		
			81 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			81 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
# fail fast
 | 
						|
set -e
 | 
						|
 | 
						|
cd packer/
 | 
						|
packer build custom.json
 | 
						|
cd -
 |