summaryrefslogtreecommitdiffstats
path: root/Services/ooconv/Dockerfile
blob: 699f6de5c561b2a0c5fe5c8c0b6ba06a79c10c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM startx/fedora
MAINTAINER Christophe LARUE <dev@startx.fr>

USER root
# Install packages and set up unoconv
RUN yum -y install unoconv libreoffice-headless libreoffice-writer libreoffice-calc pdftk gs \
    && yum clean all \
    && mkdir -p /tmp/ootmp 
# Copy startx toolkit
COPY sx/* /sx/
RUN chmod ug+rx /sx/ooconv*

EXPOSE 2002
VOLUME ["/tmp/ootmp"]

CMD ["/sx/ooconv_run.sh"]