blob: 606a6d7332b3ad65df758390bf9dd05a287559a4 [file] [log] [blame]
Andy Bavier25ebf0e2017-06-06 18:27:15 -04001ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
2
3IMAGE_NAME=opencord/mavenrepo
4PACKAGE_TAG=candidate
5
6.PHONY: all
7all: images
8
9.PHONY: images
10images:
11 docker build -f Dockerfile.make -t $(IMAGE_NAME):$(PACKAGE_TAG) $(ROOT_DIR)
12
13.PHONY: clean
14clean:
15 docker rmi opencord/mavenrepo:$(PACKAGE_TAG) | true
16
17.PHONY: test
18test:
19 @echo "No unit tests at present"
20
21.PHONY: help
22help:
23 @echo "Available targets:"
24 @echo " images: build the Docker image (Maven repo with the CORD ONOS apps)"
25 @echo " clean: remove the Docker image"
26 @echo " test: run unit tests"
27 @echo " help: print this help message"
28