forked from earlgrey0103/ThinkPython2-CN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
31 lines (28 loc) · 801 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM python:3.3
ENV PYTHONUNBUFFERED 1
RUN mkdir /doc
ADD . /doc
WORKDIR /doc
RUN apt-get update
RUN apt-get install -y texlive
RUN apt-get install -y texlive-xetex
RUN apt-get install -y texlive-lang-cjk
RUN apt-get install -y texlive-latex-recommended
RUN apt-get install -y texlive-latex-extra
RUN apt-get install -y texlive-fonts-recommended
RUN apt-get install -y texlive-base
RUN apt-get install -y fonts-wqy-zenhei
RUN apt-get remove -y \
texlive-fonts-recommended-doc \
texlive-latex-base-doc \
texlive-latex-extra-doc \
texlive-latex-recommended-doc \
texlive-pictures-doc \
texlive-pstricks-doc \
&& apt-get clean
RUN pip install \
sphinx \
sphinx_rtd_theme \
sphinx_bootstrap_theme \
alabaster
ENTRYPOINT ["/bin/bash"]