diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4768d83 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +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"]