~patrickhaussmann/docker-latex

3c7089128ff62357631d2bb2cfb42f37e344b14b — patrickhaussmann 2 years ago 82bfa50 main
Smaller image size
1 files changed, 7 insertions(+), 5 deletions(-)

M Dockerfile
M Dockerfile => Dockerfile +7 -5
@@ 1,13 1,15 @@
FROM ubuntu
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update --quiet \
    && apt-get install -y --quiet texlive texlive-lang-german texlive-latex-extra texlive-lang-english texlive-plain-generic texlive-science texlive-extra-utils latexmk lmodern \
    && apt-get install -y --quiet python3 python3-pip jq ghostscript gnuplot \
	&& apt-get install -y --quiet software-properties-common && add-apt-repository -y ppa:inkscape.dev/stable && apt-get update --quiet && apt-get install -y --quiet inkscape \
    && pip3 install numpy matplotlib scipy pygments \
    && apt-get install -y --no-install-recommends --quiet texlive texlive-lang-german texlive-latex-extra texlive-lang-english texlive-plain-generic texlive-science texlive-extra-utils latexmk lmodern \
    && apt-get install -y --no-install-recommends --quiet python3 python3-pip jq ghostscript gnuplot \
	&& apt-get install -y --no-install-recommends --quiet software-properties-common && add-apt-repository -y ppa:inkscape.dev/stable && apt-get update --quiet && apt-get install -y --quiet inkscape \
    && pip3 install --no-cache-dir numpy matplotlib scipy pygments \
    && apt-get purge -y --quiet python3-pip \
    && rm -rf /var/lib/apt/lists/* \
    && apt-get --purge remove -y .\*-doc$ \
    && rm -rf /var/lib/apt/lists/* \
    && rm -rf /usr/share/man/* \
    && rm -rf /usr/share/doc/* \
    && apt-get clean -y
RUN mkdir /.config && chmod 677 /.config && mkdir /.cache && chmod 677 /.cache
WORKDIR /src