Skip to content

Commit fdb7dc5

Browse files
committed
Add Dockerfile to build
1 parent cfd2ef0 commit fdb7dc5

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

Dockerfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM python:2.7
2+
3+
RUN apt-get update && \
4+
apt-get install -y \
5+
dvipng \
6+
latex-cjk-japanese \
7+
omake \
8+
python-sphinx \
9+
texlive-latex-extra && \
10+
rm -rf /var/lib/apt/lists/*
11+
12+
RUN pip install -U \
13+
Sphinx==1.4.3 \
14+
sphinx_rtd_theme \
15+
sphinxcontrib-blockdiag \
16+
sphinxcontrib-rubydomain
17+
18+
ENTRYPOINT cd /data && omake clean html

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Feel free to make pull-requests to this repository.
1414
Requirements
1515
------------
1616

17-
* Sphinx 1.1.3 + pngmath + blockdiag + sphinx_rtd_theme
17+
* Python 2.7 + Sphinx 1.4.3 + blockdiag + sphinx_rtd_theme
1818

19-
Easy setup for Ubuntu 12.04 systems:
19+
Easy setup for Ubuntu 16.04 systems:
2020

2121
```
2222
# apt-get install python-sphinx latex-cjk-japanese texlive-latex-extra dvipng
@@ -59,6 +59,13 @@ For Jubatus members: you can deploy it to http://jubat.us/ website.
5959
$ ./publish.sh
6060
```
6161

62+
How to Build using Docker
63+
-------------------------
64+
65+
```
66+
$ docker build -t website-builder .
67+
$ docker run --rm -v $PWD:/data website-builder
68+
```
6269

6370
Copyright
6471
---------

0 commit comments

Comments
 (0)