-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (23 loc) · 750 Bytes
/
Dockerfile
File metadata and controls
28 lines (23 loc) · 750 Bytes
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
FROM alpine:edge
MAINTAINER SFoxDev <admin@sfoxdev.com>
ENV UNO_URL https://raw.githubusercontent.com/dagwieers/unoconv/master/unoconv
ADD scripts /
RUN apk --no-cache add bash mc \
curl \
util-linux \
libreoffice-common \
libreoffice-writer \
ttf-droid-nonlatin \
ttf-droid \
ttf-dejavu \
ttf-freefont \
ttf-liberation \
&& curl -Ls $UNO_URL -o /usr/local/bin/unoconv \
&& chmod +x /usr/local/bin/unoconv \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& chmod +x convert.sh \
&& chmod +x timer.sh \
&& apk del curl \
&& rm -rf /var/cache/apk/*
VOLUME ["/tmp"]
CMD ["/convert.sh"]