-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
31 lines (29 loc) · 1.19 KB
/
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
25
26
27
28
29
30
31
FROM ubuntu:xenial
MAINTAINER Junya Ogasawara <[email protected]>
RUN set -x && \
sed -i.bak -e "s%http://archive.ubuntu.com/ubuntu/%http://ftp.jaist.ac.jp/pub/Linux/ubuntu/%g" /etc/apt/sources.list && \
apt update && apt -y upgrade && \
apt -y install git wget software-properties-common && \
apt-add-repository -y ppa:jonathonf/texlive && \
apt -y install texlive-full latexmk && \
wget http://mirrors.ctan.org/macros/latex/contrib/docmute.zip && \
wget http://mirrors.ctan.org/macros/latex/contrib/listings.zip && \
#wget http://mirrors.ctan.org/macros/latex/contrib/xkeyval.zip && \
unzip docmute.zip && \
unzip listings.zip && \
# unzip xkeyval.zip && \
rm docmute.zip listings.zip && \
mv docmute /usr/share/texmf/tex/latex/ && \
mv listings /usr/share/texmf/tex/latex/ && \
# mv xkeyval /usr/share/texmf/tex/latex/ && \
# cd /usr/share/texmf/tex/latex/xkeyval && \
# latex xkeyval.dtx && \
cd /usr/share/texmf/tex/latex/listings && \
platex *.ins && \
cd - && \
mktexlsr && \
apt autoremove && \
apt clean && \
kanji-config-updmap-sys auto
WORKDIR /data
VOLUME ["/data"]