-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
45 lines (35 loc) · 1.1 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
FROM ubuntu:latest
MAINTAINER [Kristian Gregorius Hustad <krihus@ifi.uio.no>]
# Set up locales properly
RUN apt-get update && \
apt-get install --yes --no-install-recommends locales && \
apt-get purge && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
# Use bash as default shell, rather than sh
ENV SHELL /bin/bash
RUN apt-get update && \
apt-get install -y wget \
curl \
tar \
less \
vim \
make \
libgetopt-long-descriptive-perl \
python-pygments && \
apt-get purge && \
apt-get clean && \
rm -rf /var/lib/lists/*
WORKDIR /root
COPY texlive.profile /root
RUN curl -sL https://ctan.uib.no/systems/texlive/tlnet/install-tl-unx.tar.gz | tar zxf - && \
cd install-tl-20* && \
./install-tl -profile ../texlive.profile && \
cd .. && \
rm -rf install-tl-*
WORKDIR /home