do not install documentation with textlive

This commit is contained in:
Stefano Franz 2019-01-29 17:11:29 +00:00 committed by Stefano Franz
parent b5d80e0c3c
commit fab3e113fb

View File

@ -1,7 +1,11 @@
FROM python:2-stretch FROM python:2-stretch
RUN apt-get update && apt-get install -y texlive preview-latex-style texlive-generic-extra texlive-latex-extra latexmk dos2unix RUN apt-get update \
&& apt-get --no-install-recommends install -y texlive preview-latex-style texlive-generic-extra texlive-latex-extra latexmk dos2unix \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV PATH="/opt/docs_builder:${PATH}" ENV PATH="/opt/docs_builder:${PATH}"
WORKDIR /opt/docs_builder WORKDIR /opt/docs_builder
COPY requirements.txt requirements.txt COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt RUN pip install -r requirements.txt