Skip to content

Commit

Permalink
package amtool in docker container (#1127)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartnelson3 authored Dec 3, 2017
1 parent fe9159e commit ee8ac8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee8ac8e

Please sign in to comment.