CORD-1395 Build ONOS apps without Gradle
Change-Id: I0d239da5c1c9f1f09baa1293940139664120e729
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..606a6d7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,28 @@
+ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
+
+IMAGE_NAME=opencord/mavenrepo
+PACKAGE_TAG=candidate
+
+.PHONY: all
+all: images
+
+.PHONY: images
+images:
+ docker build -f Dockerfile.make -t $(IMAGE_NAME):$(PACKAGE_TAG) $(ROOT_DIR)
+
+.PHONY: clean
+clean:
+ docker rmi opencord/mavenrepo:$(PACKAGE_TAG) | true
+
+.PHONY: test
+test:
+ @echo "No unit tests at present"
+
+.PHONY: help
+help:
+ @echo "Available targets:"
+ @echo " images: build the Docker image (Maven repo with the CORD ONOS apps)"
+ @echo " clean: remove the Docker image"
+ @echo " test: run unit tests"
+ @echo " help: print this help message"
+