diff --git a/docs/docs_builder/Dockerfile b/docs/docs_builder/Dockerfile index d808799a24..bcca03dbd8 100644 --- a/docs/docs_builder/Dockerfile +++ b/docs/docs_builder/Dockerfile @@ -1,7 +1,11 @@ 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}" WORKDIR /opt/docs_builder COPY requirements.txt requirements.txt -RUN pip install -r requirements.txt \ No newline at end of file +RUN pip install -r requirements.txt