Skip to content

Instantly share code, notes, and snippets.

@webframp
Created October 5, 2017 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webframp/481fb0587d32d8245e9280ddfd49a286 to your computer and use it in GitHub Desktop.
Save webframp/481fb0587d32d8245e9280ddfd49a286 to your computer and use it in GitHub Desktop.
webframp/sphinx-doc Dockerfile
FROM alpine:latest
LABEL maintainer="sean.escriva@gmail.com"
ENV SPHINX_VERSION='1.6.4'
RUN apk add --update python3 make bash && \
ln -s /usr/bin/python3 /usr/bin/python && \
ln -s /usr/bin/pip3 /usr/bin/pip && \
rm -rf /var/cache/apk/*
RUN pip install Sphinx==$SPHINX_VERSION sphinx_rtd_theme
CMD ["/bin/bash"]
WORKDIR /doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment