FROM public.ecr.aws/docker/library/debian:trixie-slim AS base RUN apt-get update && \ apt-get install -y \ texlive-xetex \ latexmk \ texlive-fonts-extra \ texlive-lang-european \ && \ rm -rf /var/lib/apt/lists/* CMD ["/bin/sh", "-c"] FROM base ADD compile.sh / RUN chmod +x /compile.sh ENTRYPOINT ["/compile.sh"]