Mercurial > code > home > repos > homeauto
view service/tomatoWifi/makefile @ 419:fdbdecdecd0b
use rel path for config
Ignore-this: 5f2c4d0f4004f4472f89b6c9478b846d
author | drewp@bigasterisk.com |
---|---|
date | Sat, 30 Mar 2019 16:57:08 -0700 |
parents | 8f5a16a55f64 |
children |
line wrap: on
line source
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