Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

standard couchdb server

FROM ubuntu:14.04
MAINTAINER leesper
ENV REFRESHED_AT 2016-07-21
RUN apt-get update
RUN apt-get install -y make vim libicu-dev openjdk-7-jdk openjdk-7-jre g++ libncurses5-dev libssl-dev unixodbc-dev zip
ADD otp_src_R16B03-1.tar.gz /root/packages/
WORKDIR /root/packages/otp_src_R16B03-1
RUN ./configure
RUN make
RUN make install
ADD js185-1.0.0.tar.gz /root/packages/
WORKDIR /root/packages/js-1.8.5/js/src
RUN ./configure
RUN make
RUN make install
ADD apache-couchdb-1.6.1.tar.gz /root/packages/
WORKDIR /root/packages/apache-couchdb-1.6.1
RUN ./configure
RUN make
RUN make install
ADD local.ini /usr/local/etc/couchdb/
RUN ln -s /usr/local/etc/couchdb /etc/couchdb
EXPOSE 5984
RUN useradd -d /var/lib/couchdb couchdb
RUN mkdir -p /var/lib/couchdb
RUN mkdir -p /var/log/couchdb
RUN chown -R couchdb: /var/lib/couchdb /var/log/couchdb
RUN chmod 664 /usr/local/etc/couchdb/.ini
RUN chmod 775 /usr/local/etc/couchdb/
.d
CMD /usr/local/bin/couchdb

Docker Pull Command
Owner
leesper

Comments (0)