package amtool in docker container (#1127)

This commit is contained in:
stuart nelson 2017-12-03 15:15:49 +01:00 committed by GitHub
parent fe9159e6a3
commit ee8ac8e604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
FROM prom/busybox:latest
MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com>
COPY amtool /bin/amtool
COPY alertmanager /bin/alertmanager
COPY doc/examples/simple.yml /etc/alertmanager/config.yml

View File

@ -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