Created
January 20, 2015 19:52
-
-
Save navicore/572945acb159fd134464 to your computer and use it in GitHub Desktop.
Dockerfile for riemann http://riemann.io/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Dockerfile for riemann http://riemann.io/ | |
#base | |
FROM ruby:1.9-wheezy | |
MAINTAINER Amaret, Inc. <[email protected]> | |
EXPOSE 5555 | |
ENTRYPOINT ["/usr/bin/java", "-Djava.awt.headless=true", "-Xmx128m", "-XX:+UseConcMarkSweepGC", "-jar", "/app/riemann-0.2.8/lib/riemann.jar", "/etc/riemann.config"] | |
RUN ["apt-get", "update"] | |
RUN mkdir -p /app | |
#java | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN ["apt-get", "install", "-y", "--no-install-recommends", "openjdk-7-jre-headless"] | |
#riemann | |
RUN gem install riemann-client riemann-tools riemann-dash | |
RUN wget -O /tmp/riemann.tar.bz2 https://aphyr.com/riemann/riemann-0.2.8.tar.bz2 | |
RUN tar xvjf /tmp/riemann.tar.bz2 -C /app/ | |
#app | |
ADD acc.pylib /app/acc.pylib/ | |
#cleanup | |
RUN gem cleanup | |
RUN ["apt-get", "-y", "autoremove"] | |
RUN ["apt-get", "-y", "autoclean"] | |
RUN ["apt-get", "-y", "clean"] | |
RUN rm -rf /tmp/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment