2023-02-22 19:55:22 +01:00
|
|
|
FROM alpine:3.18.3
|
2018-08-19 01:39:55 +02:00
|
|
|
|
|
|
|
COPY makeSphinx.sh /makeSphinx.sh
|
|
|
|
|
2023-02-22 19:55:22 +01:00
|
|
|
RUN apk add --no-cache python3 py3-pip make bash git openjdk8-jre ttf-dejavu fontconfig \
|
2018-08-19 01:39:55 +02:00
|
|
|
&& pip3 install --upgrade --no-cache-dir pip \
|
|
|
|
&& pip3 install --no-cache-dir \
|
2023-02-22 19:55:22 +01:00
|
|
|
jinja2==3.1.2 \
|
|
|
|
recommonmark===0.7.1\
|
|
|
|
sphinx===6.2.1 \
|
|
|
|
sphinxcontrib-ditaa===1.0.2 \
|
|
|
|
sphinx_autobuild===2021.3.14 \
|
|
|
|
sphinx_rtd_theme===1.2.2 \
|
2018-08-19 01:39:55 +02:00
|
|
|
&& chmod 755 /makeSphinx.sh
|
2022-05-24 00:04:38 +02:00
|
|
|
|
2023-02-22 19:55:22 +01:00
|
|
|
ADD https://github.com/stathissideris/ditaa/releases/download/v0.11.0/ditaa-0.11.0-standalone.jar \
|
|
|
|
/usr/lib/ditaa-0.11.0-standalone.jar
|
|
|
|
|
2019-12-10 20:27:38 +01:00
|
|
|
ADD ditaa.sh /usr/bin/ditaa
|
2018-08-19 01:39:55 +02:00
|
|
|
|
2018-04-26 14:29:20 +02:00
|
|
|
VOLUME /data-in /data-out
|
2018-08-19 01:39:55 +02:00
|
|
|
|
|
|
|
# For Sphinx-autobuild
|
|
|
|
# Port 8000 - HTTP server
|
|
|
|
# Port 35729 - websockets connection to allow automatic browser reloads after each build
|
|
|
|
EXPOSE 8000 35729
|
|
|
|
|
|
|
|
ENTRYPOINT ["/bin/bash", "/makeSphinx.sh"]
|
|
|
|
CMD []
|