-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathDockerfile
22 lines (16 loc) · 839 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM stackbrew/ubuntu:trusty
MAINTAINER Stefan van Gastel <[email protected]>
RUN apt-get update && apt-get -y upgrade
RUN apt-get -y install curl wget openjdk-7-jre-headless supervisor
# Install elasticsearch
WORKDIR /opt
RUN wget --no-check-certificate -O- https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.2.tar.gz | tar xvfz -
RUN mv elasticsearch-1.3.2 elasticsearch
# Install elasticsearch plugins
RUN cd elasticsearch && bin/plugin -install mobz/elasticsearch-head
RUN cd elasticsearch && bin/plugin -install lukas-vlcek/bigdesk
RUN cd elasticsearch && bin/plugin -install royrusso/elasticsearch-HQ
RUN cd elasticsearch && bin/plugin -install polyfractal/elasticsearch-inquisitor
EXPOSE 9200 9300
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
CMD ["/usr/bin/supervisord"]