From 6d5641db75920aed8a9891c43674b5a49b31b2aa Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Mon, 2 Feb 2015 12:01:04 -0800 Subject: [PATCH] consul alerts --- consul-alerts/Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 consul-alerts/Dockerfile diff --git a/consul-alerts/Dockerfile b/consul-alerts/Dockerfile new file mode 100644 index 0000000..6150d0b --- /dev/null +++ b/consul-alerts/Dockerfile @@ -0,0 +1,17 @@ +FROM debian:jessie +MAINTAINER Jessica Frazelle + +ADD https://jesss.s3.amazonaws.com/binaries/consul-alerts /usr/local/bin/consul-alerts +ADD https://jesss.s3.amazonaws.com/binaries/consul/0.4.1/consul /usr/local/bin/consul +ADD https://jesss.s3.amazonaws.com/binaries/curl-unix-socket /usr/local/bin/curl-unix-socket + +RUN apt-get update && apt-get install -y \ + ca-certificates \ + curl \ + --no-install-recommends \ + && mkdir -p /etc/consul.d/ \ + && chmod +x /usr/local/bin/consul \ + && chmod +x /usr/local/bin/curl-unix-socket \ + && chmod +x /usr/local/bin/consul-alerts + +ENTRYPOINT [ "/usr/local/bin/consul-alerts", "start" ]