From fb1274af7b8dd8781e15f3eb464a213ba41e84b0 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 6 Dec 2015 21:32:59 +0100 Subject: start installation of couchbase container. For now only supported under centos. Moving this code to centos7 image --- Services/couchbase/Dockerfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Services/couchbase/Dockerfile') diff --git a/Services/couchbase/Dockerfile b/Services/couchbase/Dockerfile index 6568f53..48465d3 100644 --- a/Services/couchbase/Dockerfile +++ b/Services/couchbase/Dockerfile @@ -2,8 +2,13 @@ FROM startx/fedora MAINTAINER Christophe LARUE USER root -RUN dnf -y install couchbase && \ - dnf clean all +ENV CB_VERSION=4.1.0-dp \ + CB_RELEASE_URL=http://packages.couchbase.com/releases/$CB_VERSION \ + CB_PACKAGE=couchbase-server-$CB_VERSION-centos7.x86_64.rpm +RUN dnf -y install python-httplib2 openssl && \ + dnf clean all && \ + wget $CB_RELEASE_URL/$CB_PACKAGE && \ + rpm --install $CB_PACKAGE ENV STARTUPLOG=/data/logs/couchbase/startup.log \ LOG_PATH=/data/logs/couchbase COPY *.sh /bin/ -- cgit v1.2.3