diff options
author | chris <cl@startx.fr> | 2014-06-21 00:18:22 +0200 |
---|---|---|
committer | chris <cl@startx.fr> | 2014-06-21 00:18:22 +0200 |
commit | beea97c85e203afcc76ddd4cc40100021de4f62a (patch) | |
tree | 9afd3212274fc0770c0d4cde4ce9a54a28e99bc4 /Services/ooconv | |
parent | a7f045bdb10bf1383795f014377fcbdc98012e74 (diff) | |
download | phpmyadmin-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')
-rw-r--r-- | Services/ooconv/Dockerfile | 7 | ||||
-rw-r--r-- | Services/ooconv/README.md | 12 |
2 files changed, 18 insertions, 1 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 diff --git a/Services/ooconv/README.md b/Services/ooconv/README.md index b6a57c4..c39bbd8 100644 --- a/Services/ooconv/README.md +++ b/Services/ooconv/README.md @@ -6,4 +6,14 @@ Based on the docker default centos Dockerfile **Usage** - docker run --name="test-ooconv" -d startx/sv-ooconv + docker run --name="test-ooconv" startx/sv-ooconv unoconv + docker run -d -p 2002:2002 --name="test-ooconv" startx/sv-ooconv + + +**Converting documents** + + // Start the server + unoconv --listener --server 1.2.3.4 --port 2002 + + // Use the client to connect to the convertion server + unoconv --server 1.2.3.4 --port 2002 |