-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathDockerfile
24 lines (18 loc) · 876 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && \
apt install wget texlive-luatex texlive-lang-cjk lmodern texlive-xetex \
texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra latexmk git latexdiff -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN wget https://github.com/jgm/pandoc/releases/download/2.7.2/pandoc-2.7.2-1-amd64.deb && \
dpkg -i pandoc-2.7.2-1-amd64.deb && \
wget https://github.com/lierdakil/pandoc-crossref/releases/download/v0.3.4.1/linux-pandoc_2_7_2.tar.gz && \
tar -zxvf linux-pandoc_2_7_2.tar.gz && \
mv pandoc-crossref /usr/local/bin
RUN kanji-config-updmap-sys ipaex
COPY scripts/ /usr/local/bin/
COPY crossref_config.yaml /config/crossref_config.yaml
COPY listings-setup.tex /config/listings-setup.tex
VOLUME /workdir
WORKDIR /workdir