diff --git a/Dockerfile b/Dockerfile index c683f464..c56302d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,17 @@ FROM debian:stable-slim + ENV DEBIAN_FRONTEND noninteractive -RUN echo "deb http://deb.debian.org/debian stable main" > /etc/apt/sources.list && \ - echo "deb http://deb.debian.org/debian stable-updates main" >> /etc/apt/sources.list && \ - echo "deb http://deb.debian.org/debian-security stable-security main" >> /etc/apt/sources.list && \ - apt-get update && \ - apt-get install -qyf \ - texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended && \ - rm -rf /var/lib/apt/lists/* +RUN echo "deb http://deb.debian.org/debian stable main" > /etc/apt/sources.list \ + && echo "deb http://deb.debian.org/debian stable-updates main" >> /etc/apt/sources.list \ + && echo "deb http://deb.debian.org/debian-security stable-security main" >> /etc/apt/sources.list \ + && apt-get update \ + && apt-get install -qy \ + texlive-latex-recommended \ + texlive-latex-extra \ + texlive-fonts-recommended \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* WORKDIR /data VOLUME ["/data"]