Last active
January 13, 2016 16:12
-
-
Save mschoch/7815660 to your computer and use it in GitHub Desktop.
Dockerfile for elasticsearch-couchbase (cbugg specific build)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM dustin/tiny | |
MAINTAINER Marty Schoch "[email protected]" | |
ADD https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.deb /tmp/elasticsearch-0.20.2.deb | |
RUN apt-get update | |
RUN apt-get install -y openjdk-7-jre-headless | |
RUN dpkg -i /tmp/elasticsearch-0.20.2.deb | |
RUN rm /tmp/elasticsearch-0.20.2.deb | |
RUN /usr/share/elasticsearch/bin/plugin -install mobz/elasticsearch-head | |
RUN /usr/share/elasticsearch/bin/plugin -install transport-couchbase -url http://cbfs-ext.hq.couchbase.com/mschoch/cbugg/elasticsearch-transport-couchbase-cbugg-plugin.zip | |
EXPOSE 9200 9300 9091 | |
CMD /usr/share/elasticsearch/bin/elasticsearch -f -Des.default.config=/etc/elasticsearch/elasticsearch.yml -Des.default.path.home=/usr/share/elasticsearch -Des.default.path.logs=/var/log/elasticsearch -Des.default.path.data=/var/lib/elasticsearch -Des.default.path.work=/tmp/elasticsearch -Des.default.path.conf=/etc/elasticsearch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment