Added a production target to the makefile that only builds the
containers that are required for a production deployment of
voltha.
Change-Id: Ic0a72ca290f3804f731eb59f46a2fb61d9d99e5f
diff --git a/Makefile b/Makefile
index 8129ff7..992c0f1 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,7 @@
@echo
@echo "build : Build the Voltha protos and docker images.\n\
If this is the first time you are building, choose \"make build\" option."
+ @echo "production : Build voltha for production deployment"
@echo "clean : Remove files created by the build and tests"
@echo "distclean : Remove venv directory"
@echo "fetch : Pre-fetch artifacts for subsequent local builds"
@@ -92,6 +93,11 @@
build: protos containers
+production: protos prod-containers
+
+
+prod-containers: docker-base voltha chameleon ofagent netconf shovel dashd vcli grafana consul registrator
+
containers: docker-base voltha chameleon ofagent podder netconf shovel onos tester config-push dashd vcli portainer grafana nginx consul registrator
docker-base: