forked from signalfx/signalfx-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (31 loc) · 836 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.PHONY: dev-image
dev-image:
docker build -t signalfx-agent-chef-dev .
.PHONY: run-dev-image
run-dev-image:
docker exec -it signalfx-agent-chef-dev bash 2>/dev/null || \
docker run \
--rm \
--name signalfx-agent-chef-dev \
-it \
-v $(CURDIR):/chef-repo/cookbooks/signalfx_agent \
-v $(HOME)/.chef:/root/.chef \
signalfx-agent-chef-dev \
bash
.PHONY: centos-dev-image
centos-dev-image:
docker build -f Dockerfile.centos -t signalfx-agent-chef-dev-centos .
.PHONY: run-centos-dev-image
run-centos-dev-image:
docker exec -it signalfx-agent-chef-dev-centos bash 2>/dev/null || \
docker run \
--rm \
--name signalfx-agent-chef-dev-centos \
-it \
-v $(CURDIR):/chef-repo/cookbooks/signalfx_agent \
-v $(HOME)/.chef:/root/.chef \
signalfx-agent-chef-dev-centos \
bash
.PHONY: release
release:
./release