summaryrefslogtreecommitdiffstats
path: root/Services/ooconv/Dockerfile
blob: 33e9175540e6cb902300311c9d9c6760040d36ed (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
RUN dnf -y install unoconv libreoffice-writer libreoffice-calc pdfmod ghostscript && \
    dnf clean all 
ENV STARTUPLOG=/logs/startup.log \
    LOG_PATH=/logs
COPY *.sh /bin/
RUN chmod 775 /bin/run.sh && \
    mkdir -p $LOG_PATH  && \
    mkdir -p /tmp/ootmp  && \
    touch $STARTUPLOG

EXPOSE 2002
CMD [ "/bin/run.sh" ]