generated from cisco-ospo/oss-template
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile
32 lines (26 loc) · 1.02 KB
/
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
default: docker-all
.PHONY: docker-agent
docker-agent:
@echo "Building agent container image"
cd agent && podman build -f Dockerfile --target base -t synheart-agent:dev-latest-no-plugins ..
cd agent && podman build -f Dockerfile --target base-with-go-plugins -t synheart-agent:dev-latest ..
.PHONY: docker-agent-py
docker-agent-py:
@echo "Building python agent container image (Experimental)"
cd agent && podman build -f Dockerfile --target base-with-python-plugins -t synheart-agent:dev-latest-with-py ..
.PHONY: docker-restapi
docker-restapi:
@echo "Building restapi container image"
cd restapi && podman build -f Dockerfile -t synheart-restapi:dev-latest ..
## Controller
.PHONY: docker-controller
docker-controller:
@echo "Building controller container image"
cd controller && podman build -f Dockerfile -t synheart-controller:dev-latest ..
.PHONY : docker-all
docker-all: clean docker-agent docker-agent-py docker-restapi docker-controller
.PHONY : clean
clean:
rm -rf agent/bin
rm -rf controller/bin
rm -rf restapi/bin