From ee8ac8e6048e63220e27e53aa796051351a2adb3 Mon Sep 17 00:00:00 2001 From: stuart nelson Date: Sun, 3 Dec 2017 15:15:49 +0100 Subject: [PATCH] package amtool in docker container (#1127) --- Dockerfile | 1 + circle.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 35060645..587b7b75 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM prom/busybox:latest MAINTAINER The Prometheus Authors +COPY amtool /bin/amtool COPY alertmanager /bin/alertmanager COPY doc/examples/simple.yml /etc/alertmanager/config.yml diff --git a/circle.yml b/circle.yml index fc0d08df..99c6109a 100644 --- a/circle.yml +++ b/circle.yml @@ -18,6 +18,7 @@ dependencies: override: - promu crossbuild - ln -s .build/linux-amd64/alertmanager alertmanager + - ln -s .build/linux-amd64/amtool amtool - | if [ -n "$CIRCLE_TAG" ]; then make docker DOCKER_IMAGE_NAME=$DOCKER_IMAGE_NAME DOCKER_IMAGE_TAG=$CIRCLE_TAG