-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature:Autograding] Add pdflatex image #54
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"pushLatest": true, | ||
"latestTag": "pdflatex" | ||
} |
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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
There was a problem hiding this comment.
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.