Commit a8802afc authored by Jorge Tardío Rubio's avatar Jorge Tardío Rubio
Browse files

Dockerfiles added

parent f73158ac
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
# 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"]
# 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"]
# 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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment