Andy Bavier | 6a9fb8e | 2016-06-24 17:49:00 -0400 | [diff] [blame] | 1 | IMAGE_NAME:=xosproject/cord-app-build |
2 | CONFIG_IMAGE_NAME:=xosproject/cord-app-config | ||||
3 | VTN_IMAGE_NAME:=xosproject/cord-app-vtn | ||||
4 | NO_DOCKER_CACHE?=false | ||||
5 | |||||
6 | .PHONY: build | ||||
7 | build: ; sudo docker build --no-cache=${NO_DOCKER_CACHE} --rm -t ${IMAGE_NAME} . | ||||
8 | |||||
9 | .PHONY: config | ||||
10 | config: ; sudo docker build --rm -t ${CONFIG_IMAGE_NAME} -f Dockerfile.config . | ||||
11 | |||||
12 | .PHONY: vtn | ||||
13 | vtn: ; sudo docker build --rm -t ${VTN_IMAGE_NAME} -f Dockerfile.vtn . |