mirror of
https://github.com/corda/corda.git
synced 2024-12-24 23:26:48 +00:00
14 lines
493 B
Docker
14 lines
493 B
Docker
FROM python:2-stretch
|
|
|
|
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
|
|
COPY docs_builder/lexer-fix/Pygments*.whl .
|
|
RUN pip install -r requirements.txt
|
|
RUN pip install Pygments*.whl --force-reinstall
|