diff options
author | startxfr <clarue@startx.fr> | 2015-11-29 23:52:56 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2015-11-29 23:52:56 +0100 |
commit | d3189d55206417557b03fde732693aaffca54cf8 (patch) | |
tree | 1c3d7ea129879cbff7cb534a4222ee13aadb6f3e /Services/ooconv/Dockerfile | |
parent | a4930f0838f1224bdf4fa0885e858e7a865513ca (diff) | |
download | phpmyadmin-d3189d55206417557b03fde732693aaffca54cf8.tar.gz phpmyadmin-d3189d55206417557b03fde732693aaffca54cf8.tar.bz2 phpmyadmin-d3189d55206417557b03fde732693aaffca54cf8.tar.xz phpmyadmin-d3189d55206417557b03fde732693aaffca54cf8.zip |
bugfix for mongo service and reshapping of ooconv
Diffstat (limited to 'Services/ooconv/Dockerfile')
-rw-r--r-- | Services/ooconv/Dockerfile | 21 |
1 files changed, 11 insertions, 10 deletions
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 <dev@startx.fr> 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 |