package amtool in docker container (#1127)
This commit is contained in:
parent
fe9159e6a3
commit
ee8ac8e604
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue