Mercurial > code > home > repos > homeauto
view service/frontDoorLock/makefile @ 1184:c87e5c8eb8ab
frontdoor autolock. logging improvements. use simpler mqtt interface.
Ignore-this: e2bf5262a89ebb898108a634679fdec7
darcs-hash:4864716cd06f14c5ad5ef7e0e7bc51458603012b
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 12 Dec 2018 01:11:54 -0800 |
parents | bd215f18e715 |
children | bfe555dd0c91 |
line wrap: on
line source
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 *.html 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 -v `pwd`/index.html:/opt/index.html bang6:5000/$(JOB)_x86:latest python ./front_door_lock.py