summaryrefslogtreecommitdiffstats
path: root/Services/ooconv/Dockerfile
diff options
context:
space:
mode:
authorchris <cl@startx.fr>2014-06-21 00:18:22 +0200
committerchris <cl@startx.fr>2014-06-21 00:18:22 +0200
commitbeea97c85e203afcc76ddd4cc40100021de4f62a (patch)
tree9afd3212274fc0770c0d4cde4ce9a54a28e99bc4 /Services/ooconv/Dockerfile
parenta7f045bdb10bf1383795f014377fcbdc98012e74 (diff)
downloadphpmyadmin-beea97c85e203afcc76ddd4cc40100021de4f62a.tar.gz
phpmyadmin-beea97c85e203afcc76ddd4cc40100021de4f62a.tar.bz2
phpmyadmin-beea97c85e203afcc76ddd4cc40100021de4f62a.tar.xz
phpmyadmin-beea97c85e203afcc76ddd4cc40100021de4f62a.zip
adding dependency for ooconv server and exposing 2002 port for this image.
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