25 lines
657 B
25 lines
657 B
FROM ubuntu:16.04
|
|
|
|
MAINTAINER mbredel "https://github.com/mbredel"
|
|
|
|
# Install packages for building the LaTeX template.
|
|
RUN apt-get -qq update && apt-get install -y --no-install-recommends \
|
|
make \
|
|
apt-utils \
|
|
texlive \
|
|
texlive-bibtex-extra \
|
|
texlive-fonts-extra \
|
|
texlive-lang-english \
|
|
texlive-lang-german \
|
|
texlive-latex-extra \
|
|
texlive-math-extra \
|
|
texlive-publishers \
|
|
texlive-science \
|
|
chktex
|
|
|
|
# Copy the current LaTeX code to the Docker image.
|
|
RUN mkdir -p /thesis-template
|
|
COPY ./ /thesis-template/
|
|
|
|
# Command to actually build the LaTeX code.
|
|
CMD ["make", "--directory", "/thesis-template/", "test"]
|
|
|