FROM archlinux:base

WORKDIR /root

RUN pacman -Syu texlive-basic texlive-bin texlive-binextra texlive-fontsrecommended texlive-fontutils texlive-langgerman texlive-latex texlive-latexextra texlive-latexrecommended texlive-mathscience texlive-metapost texlive-pictures texlive-plaingeneric perl-yaml-tiny perl-file-homedir libxcrypt-compat git --noconfirm

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

ENTRYPOINT [ "/root/entrypoint.sh" ]
