mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
consul alerts
This commit is contained in:
parent
e420eaecda
commit
6d5641db75
17
consul-alerts/Dockerfile
Normal file
17
consul-alerts/Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
FROM debian:jessie
|
||||||
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
|
|
||||||
|
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" ]
|
Loading…
Reference in New Issue
Block a user