-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
34 lines (30 loc) · 894 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
25
26
27
28
29
30
31
32
33
34
FROM ubuntu:18.04
# docker build -t openbases/openbases-pdf .
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-fonts-recommended \
tree \
wget && \
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 && \
wget https://bootstrap.pypa.io/get-pip.py && \
python get-pip.py && \
mkdir -p /data /code && \
pip install --upgrade pip && \
pip install openbases
ADD . /code
RUN chmod u+x /code/entrypoint.sh
WORKDIR /data
ENTRYPOINT ["/bin/bash", "/code/entrypoint.sh"]