Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dockerfiles/pdflatex/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"pushLatest": true,
"latestTag": "pdflatex"
}
12 changes: 12 additions & 0 deletions dockerfiles/pdflatex/pdflatex/Dockerfile
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Path to this file should be .../pdflatex/{PDFLATEX_VERSION}/Dockerfile to allow users to specify the version in case of updates.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM ubuntu:20.04
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update
RUN apt-get install -qqy texlive-latex-base texlive-latex-recommended texlive-plain-generic texlive-latex-extra
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you specify the versions for these packages like you did python?

RUN apt-get install -qqy python3.10 pip

RUN pip3 install PyPDF2==3.0.1

RUN mkdir -p /var/local/submitty/autograding_tmp

WORKDIR /var/local/submitty/autograding_tmp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be necessary. The autograder will handle mounting when it runs testcases.