Commit f815a575 by Fred Smith

make elasticsearch build

parent 608d75b2
FROM edxops/precise-common:v1 FROM edxops/precise-common:v1
MAINTAINER e0d MAINTAINER edxops
USER docker USER docker
WORKDIR /edx/app/edx_ansible WORKDIR /edx/app/edx_ansible
ADD inventory /etc/ansible/hosts
WORKDIR /edx/app/edx_ansible/edx_ansible/playbooks/edx-east WORKDIR /edx/app/edx_ansible/edx_ansible/playbooks/edx-east
RUN sudo git checkout e0d/docker-latest RUN sudo git checkout e0d/docker-latest
RUN sudo git reset --hard origin/e0d/docker-latest RUN sudo git reset --hard origin/e0d/docker-latest
...@@ -11,5 +10,5 @@ RUN sudo git pull ...@@ -11,5 +10,5 @@ RUN sudo git pull
RUN sudo ansible-playbook elasticsearch-docker.yml -c local RUN sudo ansible-playbook elasticsearch-docker.yml -c local
USER root USER root
WORKDIR /etc/elasticsearch WORKDIR /etc/elasticsearch
CMD ["/usr/share/elasticsearch/bin/elasticsearch"] CMD ["/usr/share/elasticsearch/bin/elasticsearch","-f"]
EXPOSE 9200 9300 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