-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (23 loc) · 780 Bytes
/
Dockerfile
File metadata and controls
30 lines (23 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM debian:buster-slim
ARG DEBIAN_FRONTEND=noninteractive
# Installed packages
# - emacs without GUI support (for org mode)
# - whole latex suite
# - fonts-liberation2: free equivalent of microsoft fonts
# - graphviz: create graphs with latex
# - jq: json output parser
# - python3-pygments: syntax highlight
RUN apt -yq update && apt -yq upgrade && \
apt install -yq emacs-nox \
texlive-full texlive-humanities texlive-pictures texlive-publishers texlive-science \
fonts-liberation2 \
graphviz \
jq \
python3-pygments
# Cleanup apt cache to reclaim some space
RUN apt clean && rm -rf /var/lib/apt/lists/*
# Set the working directory
WORKDIR /root/project
COPY src /root/src
RUN chmod +x /root/src/run.sh
CMD "/root/src/run.sh"