Public Repository

Last pushed: 2 years ago
Short Description
docker run -d -p 8091:8091 sivasakthi/couchbase-server
Full Description

Docker file :

FROM ubuntu

MAINTAINER Sivasakthi

RUN apt-get update && \
apt-get install openjdk-7-jdk -y

ADD couchbase-server-enterprise_4.1.0-ubuntu14.04_amd64.deb /usr/local/
RUN dpkg -i /usr/local/couchbase-server-enterprise_4.1.0-ubuntu14.04_amd64.deb

ADD start.sh /

RUN chmod +x /start.sh

CMD ["/start.sh","run"]

Start.sh :

#!/bin/bash
/etc/init.d/couchbase-server start
while true
do
sleep 30
echo "odoo is still up"
done

/bin/bash

Docker Pull Command
Owner
sivasakthi