diff options
author | startxfr <clarue@startx.fr> | 2014-12-08 02:35:03 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2014-12-08 02:35:03 +0100 |
commit | ef2c1df934ee7720fd1ccacae042f3deb3b7628d (patch) | |
tree | 005eb1b5402f274f8643fa2d85ffa81da917a225 /Services/ooconv/Dockerfile | |
parent | a7f649b8f1f56a999073550d1b91b5d8d1cd7d81 (diff) | |
download | phpmyadmin-ef2c1df934ee7720fd1ccacae042f3deb3b7628d.tar.gz phpmyadmin-ef2c1df934ee7720fd1ccacae042f3deb3b7628d.tar.bz2 phpmyadmin-ef2c1df934ee7720fd1ccacae042f3deb3b7628d.tar.xz phpmyadmin-ef2c1df934ee7720fd1ccacae042f3deb3b7628d.zip |
adding function and startup script for last services images : memcache, nodejs, ooconv and postresql
Diffstat (limited to 'Services/ooconv/Dockerfile')
-rw-r--r-- | Services/ooconv/Dockerfile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/Services/ooconv/Dockerfile b/Services/ooconv/Dockerfile index 0a50a0a..699f6de 100644 --- a/Services/ooconv/Dockerfile +++ b/Services/ooconv/Dockerfile @@ -1,12 +1,16 @@ +FROM startx/fedora +MAINTAINER Christophe LARUE <dev@startx.fr> +USER root +# Install packages and set up unoconv +RUN yum -y install unoconv libreoffice-headless libreoffice-writer libreoffice-calc pdftk gs \ + && yum clean all \ + && mkdir -p /tmp/ootmp +# Copy startx toolkit +COPY sx/* /sx/ +RUN chmod ug+rx /sx/ooconv* -FROM centos:latest -MAINTAINER startx dev@startx.fr +EXPOSE 2002 +VOLUME ["/tmp/ootmp"] -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 +CMD ["/sx/ooconv_run.sh"]
\ No newline at end of file |