Mercurial > code > home > repos > homeauto
comparison 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 |
comparison
equal
deleted
inserted
replaced
1222:4ae655806141 | 1223:34de6cfa0b6b |
---|---|
1 JOB=wifi | |
2 PORT=9070 | |
3 | |
4 TAG=bang6:5000/${JOB}_x86:latest | |
5 | |
6 build_image: | |
7 rm -rf tmp_ctx | |
8 mkdir -p tmp_ctx | |
9 cp -a Dockerfile ../../lib/*.py *.py *.n3 *.json *.html req* tmp_ctx | |
10 docker build --network=host -t ${TAG} tmp_ctx | |
11 docker push ${TAG} | |
12 rm -r tmp_ctx | |
13 | |
14 shell: | |
15 docker run --rm -it --cap-add SYS_PTRACE --net=host ${TAG} /bin/bash | |
16 | |
17 local_run: | |
18 docker run --rm -it -p ${PORT}:${PORT} \ | |
19 --net=host \ | |
20 ${TAG} \ | |
21 python tomatoWifi.py -v |