Peg base openvino image to 2021.4
Parameterize hard-coded values
Change-Id: I0c3d4866709b5ea98056699818fbac53da979af4
diff --git a/Makefile b/Makefile
index 4341efd..1a24080 100644
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,14 @@
PYTHON = $(VENV)/bin/python3
PIP = $(VENV)/bin/pip
+ROC_USER ?=
+ROC_PASSWD ?=
+ROC_URL ?=
+KEYCLOAK ?=
+ENTERPRISE ?=
+SITE ?=
+DEVICEGROUP ?=
+
all: test
help:
@@ -71,14 +79,20 @@
docker-push:
docker push $(DOCKER_IMAGENAME)
-docker-run:
+docker-run :
docker run \
-itu root:root \
--privileged \
--network host \
--name $(CONTAINER_NAME) \
--rm \
- $(DOCKER_IMAGENAME) --user "user" --password "password"
+ $(DOCKER_IMAGENAME) \
+ --url $(ROC_URL) \
+ --keycloak $(KEYCLOAK) \
+ --enterprise $(ENTERPRISE) \
+ --site $(SITE) \
+ --devicegroup $(DEVICEGROUP) \
+ --user $(ROC_USER) --password $(ROC_PASSWD)
run-native-file: $(VENV)
. ./bin/person_detection.sh -i ./resources/run.mp4