-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
41 lines (37 loc) · 1.03 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
FROM ubuntu:18.04
# docker build -t rseng/pdf-generator .
LABEL maintainer "@vsoch"
ENV DEBIAN_FRONTEND noninteractive
RUN apt update && \
apt install --yes --no-install-recommends \
git \
biber \
build-essential \
lmodern \
pandoc \
pandoc-citeproc \
texlive-xetex \
texlive \
texlive-latex-extra \
texlive-bibtex-extra \
texlive-generic-extra \
texlive-fonts-recommended \
tree \
python3 \
python3-pip \
python3-setuptools \
locales \
wget && \
locale-gen en_US en_US.UTF-8 && \
dpkg-reconfigure locales && \
wget -O /tmp/pandoc.deb https://github.com/jgm/pandoc/releases/download/2.1.1/pandoc-2.1.1-1-amd64.deb && \
dpkg -i /tmp/pandoc.deb && \
mkdir -p /data /code && \
pip3 install openbases
ENV LC_ALL "en_US.UTF-8"
ENV LANG "en_US.UTF-8"
ENV LANGUAGE "en_US.UTF-8"
ADD . /code
RUN chmod u+x /code/entrypoint.sh
WORKDIR /github/workspace
ENTRYPOINT ["/bin/bash", "/code/entrypoint.sh"]