Last active
December 30, 2015 20:38
-
-
Save mschoch/7881606 to your computer and use it in GitHub Desktop.
Dockerfile for elasticsearch-couchbase-transport (cbugg build)
This file contains hidden or 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 mschoch/elasticsearch:1.0.2 | |
MAINTAINER Marty Schoch "[email protected]" | |
# install elasticsearch-couchbase-transport | |
RUN /usr/share/elasticsearch/bin/plugin -install transport-couchbase -url http://cbfs-ext.hq.couchbase.com/mschoch/cbugg/elasticsearch-transport-couchbase-2.0.0-SNAPSHOT.zip | |
# install the couchbase index template | |
RUN mkdir -p $CONF_DIR/templates | |
RUN echo '{"couchbase":' >> $CONF_DIR/templates/couchbase.json | |
RUN cat /usr/share/elasticsearch/plugins/transport-couchbase/couchbase_template.json >> $CONF_DIR/templates/couchbase.json | |
RUN echo '}' >> $CONF_DIR/templates/couchbase.json | |
ENV PASSWD password | |
RUN echo "couchbase.password: $PASSWD" >> $CONF_FILE | |
EXPOSE 9091 | |
CMD [""] | |
ENTRYPOINT ["/usr/share/elasticsearch/bin/elasticsearch-docker"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment