aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorPrometheusBot <prometheus-team@googlegroups.com>2019-06-07 07:35:51 +0100
committerBen Kochie <superq@gmail.com>2019-06-07 08:35:51 +0200
commitb5565922170dae938de7a27ffa7351afea95b67c (patch)
tree6ba73c485d155c8c1076a7adc0cddb10bcb5f553 /Makefile.common
parent03f0b4db9fc49f0c888d469ed142ed89233f08c3 (diff)
downloadprometheus_node_collector-b5565922170dae938de7a27ffa7351afea95b67c.tar.bz2
prometheus_node_collector-b5565922170dae938de7a27ffa7351afea95b67c.tar.xz
prometheus_node_collector-b5565922170dae938de7a27ffa7351afea95b67c.zip
makefile: update Makefile.common with newer version (#1371)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index c7f9ea6..6b94f83 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -86,6 +86,7 @@ endif
86PREFIX ?= $(shell pwd) 86PREFIX ?= $(shell pwd)
87BIN_DIR ?= $(shell pwd) 87BIN_DIR ?= $(shell pwd)
88DOCKER_IMAGE_TAG ?= $(subst /,-,$(shell git rev-parse --abbrev-ref HEAD)) 88DOCKER_IMAGE_TAG ?= $(subst /,-,$(shell git rev-parse --abbrev-ref HEAD))
89DOCKERFILE_PATH ?= ./
89DOCKER_REPO ?= prom 90DOCKER_REPO ?= prom
90 91
91DOCKER_ARCHS ?= amd64 92DOCKER_ARCHS ?= amd64
@@ -212,7 +213,7 @@ $(BUILD_DOCKER_ARCHS): common-docker-%:
212 docker build -t "$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME)-linux-$*:$(DOCKER_IMAGE_TAG)" \ 213 docker build -t "$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME)-linux-$*:$(DOCKER_IMAGE_TAG)" \
213 --build-arg ARCH="$*" \ 214 --build-arg ARCH="$*" \
214 --build-arg OS="linux" \ 215 --build-arg OS="linux" \
215 . 216 $(DOCKERFILE_PATH)
216 217
217.PHONY: common-docker-publish $(PUBLISH_DOCKER_ARCHS) 218.PHONY: common-docker-publish $(PUBLISH_DOCKER_ARCHS)
218common-docker-publish: $(PUBLISH_DOCKER_ARCHS) 219common-docker-publish: $(PUBLISH_DOCKER_ARCHS)