Commit 279423d1 by Fred Smith

Merge pull request #2358 from edx/derf/elasticsearch_dockerfile

make elasticsearch build
parents 493a5ed3 f815a575
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