mirror of
				https://github.com/qurator-spk/ocrd-galley.git
				synced 2025-10-30 02:34:13 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			426 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			426 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| # Run the my_ocrd_workflow container on the current workspace
 | |
| 
 | |
| # The container currently needs to run privileged to allow it to read from e.g.
 | |
| # /home on SELinux secured systems such as Fedora. We might want to use udica
 | |
| # instead in the future.
 | |
| 
 | |
| docker run --privileged=true --rm -t \
 | |
|   \
 | |
|   --user `id -u`:`id -g` \
 | |
|   --mount type=bind,src="$(pwd)",target=/data \
 | |
|   \
 | |
|   -e LOG_LEVEL=$LOG_LEVEL \
 | |
|   my_ocrd_workflow
 |