Mercurial > code > home > repos > homeauto
diff service/frontDoorLock/makefile @ 377:5b690bfc31b2
docker/etc initial version of front door mqtt<->rdf using some rx
Ignore-this: 87ea28bde75a5b0d35fe89d61f11090a
author | drewp@bigasterisk.com |
---|---|
date | Tue, 11 Dec 2018 19:13:06 -0800 |
parents | |
children | 67cebf7a14de |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/service/frontDoorLock/makefile Tue Dec 11 19:13:06 2018 -0800 @@ -0,0 +1,19 @@ +JOB=front_door_lock +PORT=10011 + +TAG=bang6:5000/${JOB}_x86:latest + +build_image: + rm -rf tmp_ctx + mkdir -p tmp_ctx + cp -a Dockerfile ../../lib/*.py *.py *.txt tmp_ctx + docker build --network=host -t ${TAG} tmp_ctx + docker push ${TAG} + rm -rf tmp_ctx + + +shell: + docker run --rm -it --cap-add SYS_PTRACE --net=host bang6:5000/$(JOB)_x86:latest /bin/sh + +local_run: + docker run --rm -it --net=host bang6:5000/$(JOB)_x86:latest