mirror of
				https://github.com/qurator-spk/ocrd-galley.git
				synced 2025-10-31 03:04:12 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			645 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			645 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| FROM my_ocrd_workflow-core
 | |
| 
 | |
| ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver"
 | |
| ARG OCRD_FILEFORMAT_VERSION="0.1.1"
 | |
| 
 | |
| 
 | |
| RUN apt-get update && \
 | |
|     apt-get install -y \
 | |
|       git \
 | |
|       openjdk-11-jdk-headless \
 | |
|       wget \
 | |
|       unzip \
 | |
|     && \
 | |
|     apt-get clean && rm -rf /var/lib/apt/lists/*
 | |
| RUN git clone --depth 1 --branch v${OCRD_FILEFORMAT_VERSION} https://github.com/OCR-D/ocrd_fileformat.git && \
 | |
|     cd ocrd_fileformat/ && \
 | |
|     git submodule update --init && \
 | |
|     make install-fileformat install PREFIX=/usr/local && \
 | |
|     cd .. && rm -rf ocrd_fileformat/
 | |
| 
 | |
| 
 | |
| # Default command
 | |
| CMD ['ocrd-fileformat-transform']
 |