Commit 7080fc67 by Fred Smith Committed by Edward Zarecor

make elasticsearch build

parent 401e4eee
FROM edxops/precise-common:v1
MAINTAINER e0d
MAINTAINER edxops
USER docker
WORKDIR /edx/app/edx_ansible
ADD inventory /etc/ansible/hosts
WORKDIR /edx/app/edx_ansible/edx_ansible/playbooks/edx-east
RUN sudo git checkout e0d/docker-latest
RUN sudo git reset --hard origin/e0d/docker-latest
......@@ -11,5 +10,5 @@ RUN sudo git pull
RUN sudo ansible-playbook elasticsearch-docker.yml -c local
USER root
WORKDIR /etc/elasticsearch
CMD ["/usr/share/elasticsearch/bin/elasticsearch"]
CMD ["/usr/share/elasticsearch/bin/elasticsearch","-f"]
EXPOSE 9200 9300
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment