diff --git a/Makefile b/Makefile index 3bd777250f1cb1e13255c287ddd3c3bbbcb323ae..9b14aff8b63850cfca3b374e1091cb216a392fb3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) TUNNEL_HOST:=arkindex-dev TUNNEL_PORT:=8000 +PONOS_BRANCH=master +COMMON_BRANCH=master VERSION=$(shell git rev-parse --short HEAD) TAG_APP=arkindex-app @@ -22,7 +24,7 @@ clean: build: python setup.py sdist - docker build --no-cache $(ROOT_DIR) -t $(TAG_APP):$(VERSION) -t $(TAG_APP):latest + docker build --no-cache $(ROOT_DIR) -t $(TAG_APP):$(VERSION) -t $(TAG_APP):latest --build-arg PONOS_BRANCH=$(PONOS_BRANCH) --build-arg COMMON_BRANCH=$(COMMON_BRANCH) build-shell: docker build -t $(TAG_SHELL):$(VERSION) -t $(TAG_SHELL):latest $(ROOT_DIR)/shell