summaryrefslogtreecommitdiffstats
path: root/Services/ooconv/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Services/ooconv/Dockerfile')
-rw-r--r--Services/ooconv/Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Services/ooconv/Dockerfile b/Services/ooconv/Dockerfile
index 44bc166..0a50a0a 100644
--- a/Services/ooconv/Dockerfile
+++ b/Services/ooconv/Dockerfile
@@ -3,3 +3,10 @@
FROM centos:latest
MAINTAINER startx dev@startx.fr
+CMD rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
+CMD yum install --skip-broken -y --enablerepo=rpmforge unoconv libreoffice-headless libreoffice-writer libreoffice-calc
+COPY unoconv /unoconv
+
+EXPOSE [2002]
+
+CMD ./unoconv --listener