-
Notifications
You must be signed in to change notification settings - Fork 56
Added docker image to easier build documentation #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM debian:latest | ||
|
||
# Credit goes to https://github.com/headstar/sphinx-doc-docker | ||
|
||
RUN apt-get update | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python-pip | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we install these in one command to use less layers in the container? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I get an error if I try to install python-php textlive... enchant at the same time. |
||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y texlive texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y enchant | ||
RUN apt-get update --fix-missing | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y git | ||
|
||
RUN pip install Sphinx==1.4 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we install these in one command to create less layers? Maybe we can use the requirements.txt from the project to avoid duplication? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe, But I leave that for a future PR if you don't mind |
||
RUN pip install sphinx_rtd_theme | ||
RUN pip install alabaster | ||
RUN pip install sphinx_bootstrap_theme | ||
|
||
CMD ["/bin/bash"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing newline |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why double space between keywords and commands?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea, Got if from https://github.com/headstar/sphinx-doc-docker