Bootstrap: docker
From: ubuntu:groovy

%post 
	export DEBIAN_FRONTEND=noninteractive
	### installing requisite packages for olmocr
	apt-get -y update && apt-get -y install python3.11 poppler-utils ttf-mscorefonts-installer 
	apt-get msttcorefonts fonts-crosextra-caladea fonts-crosextra-carlito gsfonts lcdf-typetools
	pip install olmocr[gpu] --find-links https://flashinfer.ai/whl/cu124/torch2.4/flashinfer/



