Mercurial > code > home > repos > homeauto
diff service/wifi/makefile @ 1223:34de6cfa0b6b
rename historical 'tomatoWifi'
Ignore-this: 8a3f1f261df50e8029cf9de5b11a6896
darcs-hash:1b2345513349fd24e5b3992141f0b0f72ad43910
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 30 Mar 2019 16:58:08 -0700 |
parents | |
children | e1202af42d4d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/service/wifi/makefile Sat Mar 30 16:58:08 2019 -0700 @@ -0,0 +1,21 @@ +JOB=wifi +PORT=9070 + +TAG=bang6:5000/${JOB}_x86:latest + +build_image: + rm -rf tmp_ctx + mkdir -p tmp_ctx + cp -a Dockerfile ../../lib/*.py *.py *.n3 *.json *.html req* tmp_ctx + docker build --network=host -t ${TAG} tmp_ctx + docker push ${TAG} + rm -r tmp_ctx + +shell: + docker run --rm -it --cap-add SYS_PTRACE --net=host ${TAG} /bin/bash + +local_run: + docker run --rm -it -p ${PORT}:${PORT} \ + --net=host \ + ${TAG} \ + python tomatoWifi.py -v