FROM startx/fedora MAINTAINER Christophe LARUE 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 VOLUME $LOG_PATH CMD [ "/bin/run.sh" ]