-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
54 lines (45 loc) · 1.25 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
46
47
48
49
50
51
52
53
54
FROM debian:8.7
MAINTAINER Arachnys <[email protected]>
RUN echo 'deb http://httpredir.debian.org/debian/ stable main contrib non-free' >> /etc/apt/sources.list
RUN apt-get -yq update && \
apt-get -yq install \
wget \
xvfb \
libasound2 \
libgconf-2-4 \
libgtk2.0-0 \
libnotify4 \
libnss3 \
libxss1 \
libXtst6 \
culmus \
fonts-beng \
fonts-dejavu \
fonts-hosny-amiri \
fonts-lklug-sinhala \
fonts-lohit-guru \
fonts-lohit-knda \
fonts-samyak-gujr \
fonts-samyak-mlym \
fonts-samyak-taml \
fonts-sarai \
fonts-sil-abyssinica \
fonts-sil-padauk \
fonts-telu \
fonts-thai-tlwg \
ttf-liberation \
ttf-unfonts-core \
ttf-wqy-zenhei \
&& apt-get -yq autoremove \
&& apt-get -yq clean \
&& rm -rf /var/lib/apt/lists/* \
&& truncate -s 0 /var/log/*log
COPY fonts.conf /etc/fonts/conf.d/100-athena.conf
COPY build/athenapdf-linux-x64/ /athenapdf/
WORKDIR /athenapdf/
ENV PATH /athenapdf/:$PATH
COPY entrypoint.sh /athenapdf/entrypoint.sh
RUN mkdir -p /converted/
WORKDIR /converted/
CMD ["athenapdf"]
ENTRYPOINT ["/athenapdf/entrypoint.sh"]