Docker container with Alpine Linux, Pandoc, PlantUML, and Sphinx.
2.2K
This is the source code which builds a Docker container comprised of Alpine Linux, Pandoc, PlantUML, and Sphinx. It is intended to provide an environment which is optimized for generating documentation.
We use:
make
The short version is FROM skyzyx/alpine-pandoc:1.0.0.
RUN commands./var/docs.ENTRYPOINT.docker-compose up the first time (or with --build) will build your custom container, then run your ENTRYPOINT task. Subsequent runs of docker-compose up will only execute your ENTRYPOINT task.
DockerfileFROM skyzyx/alpine-pandoc:1.0.0
ENV PERSISTENT_DEPS wget git mercurial make gmp openssh
ENV SPHINXBUILD /usr/bin/sphinx-build
ENV SPHINXOPTS -T
# Copy Source code and set working directory
COPY src /var/docs
WORKDIR /var/docs
USER root
RUN apk add --no-cache --virtual .persistent-deps $PERSISTENT_DEPS && \
pip install -r requirements.txt
ENTRYPOINT ["make", "docs"]
docker-compose.ymlversion: "3"
services:
documentation-builder:
build:
context: .
dockerfile: Dockerfile
volumes:
- ./src:/var/docs
Content type
Image
Digest
Size
126.8 MB
Last updated
about 7 years ago
docker pull skyzyx/alpine-pandoc:1.2.0