Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
docs
Mkdocs Material
Commits
a8802afc
Commit
a8802afc
authored
Apr 19, 2021
by
Jorge Tardío Rubio
Browse files
Dockerfiles added
parent
f73158ac
Changes
4
Show whitespace changes
Inline
Side-by-side
dockerfiles/latex-pandoc.Dockerfile
0 → 100644
View file @
a8802afc
FROM
texlive/texlive:latest
RUN
apt-get update
&&
apt-get
install
-y
pandoc
COPY
latex-templates/eisvogel.latex /usr/share/pandoc/data/templates/eisvogel.latex
COPY
latex-templates/default.latex /usr/share/pandoc/data/templates/default.latex
COPY
latex-templates/pandoc-scholar.latex /usr/share/pandoc/data/templates/pandoc-scholar.latex
dockerfiles/mkdocs-material:dev.Dockerfile
0 → 100644
View file @
a8802afc
# Use the oficial image of mkdocs-material
FROM
squidfunk/mkdocs-material
ENV
ENABLE_PANDOC_EXPORT=1
ENV
CI=0
# Install plugins
RUN
pip
install
mkdocs-pandoc-plugin mkdocs-git-revision-date-plugin
# Expose MkDocs development server port
EXPOSE
8000
# Start development server by default
ENTRYPOINT
["mkdocs"]
CMD
["serve", "--dev-addr=0.0.0.0:8000"]
dockerfiles/mkdocs-material:prod.Dockerfile
0 → 100644
View file @
a8802afc
# Use the oficial image of mkdocs-material
FROM
squidfunk/mkdocs-material
# Variable environment to disenable mkdocs-pandoc-plugin
ENV
ENABLE_PANDOC_EXPORT=0
# Variable environment to enable mkdocs-git-revision-date-plugin
ENV
CI=0
# Install plugins
RUN
pip
install
mkdocs-pandoc-plugin mkdocs-git-revision-date-plugin
# Expose MkDocs development server port
EXPOSE
8000
# Start development server by default
ENTRYPOINT
["mkdocs"]
CMD
["serve", "--dev-addr=0.0.0.0:8000"]
dockerfiles/pandoc-latex-alpine.Dockerfile
0 → 100644
View file @
a8802afc
# ERROR WITH SOME LATEX PACKAGES, ONLY WORKS DEFAULT LATEX TEMPLATE
# pandoc/latex:latest is an alpine image
FROM
pandoc/latex:latest
COPY
latex-templates/eisvogel.latex /root/.local/share/pandoc/templates/eisvogel.latex
#RUN apk update && apk add texmf-dist texlive
#TODO: install the following packages: adjustbox babel-german background bidi collectbox csquotes everypage filehook footmisc footnotebackref framed fvextra letltxmacro ly1 mdframed mweights needspace pagecolor sourcecodepro sourcesanspro titling ucharcat ulem unicode-math upquote xecjk xurl zref
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment