From d3189d55206417557b03fde732693aaffca54cf8 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 29 Nov 2015 23:52:56 +0100 Subject: bugfix for mongo service and reshapping of ooconv --- Services/ooconv/Dockerfile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'Services/ooconv/Dockerfile') diff --git a/Services/ooconv/Dockerfile b/Services/ooconv/Dockerfile index f8ce949..feeed82 100644 --- a/Services/ooconv/Dockerfile +++ b/Services/ooconv/Dockerfile @@ -2,15 +2,16 @@ FROM startx/fedora MAINTAINER Christophe LARUE USER root -# Install packages and set up unoconv -RUN dnf -y install unoconv libreoffice-headless libreoffice-writer libreoffice-calc pdftk gs \ - && dnf clean all \ - && mkdir -p /tmp/ootmp -# Copy startx toolkit -COPY sx/* /sx/ -RUN chmod ug+rx /sx/ooconv* +RUN dnf -y install unoconv libreoffice-headless libreoffice-writer libreoffice-calc pdfmod ghostscript && \ + dnf clean all +ENV STARTUPLOG=/data/logs/ooconv/startup.log \ + LOG_PATH=/data/logs/ooconv +COPY *.sh /bin/ +RUN chmod 775 /bin/run.sh && \ + mkdir -p $LOG_PATH && \ + mkdir -p /tmp/ootmp && \ + touch $STARTUPLOG EXPOSE 2002 -VOLUME ["/tmp/ootmp"] - -CMD ["/sx/ooconv_run.sh"] \ No newline at end of file +VOLUME [$LOG_PATH] +CMD ["/bin/run.sh"] \ No newline at end of file -- cgit v1.2.3