Skip to content

Instantly share code, notes, and snippets.

@timusg
Created November 30, 2013 04:47
Show Gist options
  • Save timusg/7715534 to your computer and use it in GitHub Desktop.
Save timusg/7715534 to your computer and use it in GitHub Desktop.
kibana milestone 4 docker file
FROM base
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wget nginx-full
RUN (cd /tmp && wget --no-check-certificate https://download.elasticsearch.org/kibana/kibana/kibana-3.0.0milestone4.tar.gz -O pkg.tar.gz && tar zxf pkg.tar.gz && cd kibana-* && cp -rf ./* /usr/share/nginx/www/)
RUN ( sed -i 's/elasticsearch: .*$/elasticsearch: "http:\/\/10.130.1.70:9200",/' /usr/share/nginx/www/config.js)
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
RUN rm -rf /tmp/*
EXPOSE 80
CMD ["/usr/sbin/nginx","-c", "/etc/nginx/nginx.conf"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment