xetexgen/Dockerfile
Knut Ahlers cfa7a62217
Don't ask questions during automated install
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-04 22:04:08 +02:00

24 lines
527 B
Docker

FROM ubuntu
MAINTAINER Knut Ahlers <knut@ahlers.me>
ENV DEBIAN_FRONTEND=noninteractive
ENV PACKAGES \
texlive-xetex \
texlive-latex-extra \
texlive-latex-recommended \
texlive-fonts-recommended \
texlive-lang-european \
texlive-lang-german
RUN apt-get update \
&& apt-get install -y $PACKAGES \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ADD ./generate-pdf /usr/local/bin/generate-pdf
VOLUME ["/src"]
WORKDIR /src
ENTRYPOINT ["/usr/local/bin/generate-pdf"]