FROM git.janishutz.com/registry/latex-build

WORKDIR /root

RUN apk add py3-pip python3 texmf-formatsextra texlive-humanities texmf-dist-metapost texmf-dist-publishers xdvik texmf-dist-latexextra

RUN pip3 install latexminted --break-system-packages

COPY ./entrypoint.sh /root/
RUN chmod +x /root/entrypoint.sh
