Build the complete Assignment 5 manual on trusted branch pushes
Assignment 5 manual PDF / manual (push) Successful in 47s
Assignment 5 manual PDF / manual (push) Successful in 47s
This commit is contained in:
parent
fa9a32f8a9
commit
c74087a93b
@@ -0,0 +1,12 @@
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
texlive-latex-base \
|
||||
lmodern \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /workspace
|
||||
COPY sample-source.txt .
|
||||
|
||||
CMD ["pdflatex", "-interaction=nonstopmode", "-halt-on-error", "sample-source.txt"]
|
||||
@@ -0,0 +1,21 @@
|
||||
\documentclass{article}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage{lmodern}
|
||||
\usepackage{hyperref}
|
||||
|
||||
\title{LaTeX Compiled Inside Docker}
|
||||
\author{Nicholas Kogut and Gowri Das Lovely}
|
||||
\date{September 18, 2026}
|
||||
|
||||
\begin{document}
|
||||
\maketitle
|
||||
|
||||
\section{Purpose}
|
||||
This document verifies that a Docker container with TeX Live can compile
|
||||
LaTeX source into a PDF without requiring a local LaTeX installation.
|
||||
|
||||
\section{Result}
|
||||
The source was processed with \texttt{pdflatex} inside the container. The
|
||||
generated PDF was written to a host-mounted output directory.
|
||||
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user