1
0
mirror of https://github.com/rlister/dockerfiles.git synced 2025-12-11 00:36:27 +00:00

initial sensu setup

This commit is contained in:
Richard Lister
2015-01-21 00:44:23 -05:00
parent 48ab114d02
commit 58637d65a5

16
sensu/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM debian:jessie
MAINTAINER Ric Lister, rlister@gmail.com
RUN apt-get update && \
apt-get install -y wget
## install sensu
RUN wget -q http://repos.sensuapp.org/apt/pubkey.gpg -O- | apt-key add - && \
echo "deb http://repos.sensuapp.org/apt sensu main" > /etc/apt/sources.list.d/sensu.list && \
apt-get update -o Dir::Etc::sourcelist="sources.list.d/sensu.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" && \
apt-get install -y sensu
WORKDIR /app
CMD [ "/opt/sensu/bin/sensu-client", "-c", "config.json", "-d", "conf.d" ]