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* EXPOSE 2002 VOLUME ["/tmp/ootmp"] CMD ["/sx/ooconv_run.sh"]