Mercurial > code > home > repos > homeauto
view service/xidle/makefile @ 1490:455b1b80516e
introduce capnp, more build, some demos
Ignore-this: 29801e9e9f8a85fd0d822207c6eacce1
darcs-hash:b2da18876d27b0fb9192811375752b5c4e7322e0
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 23 Jan 2020 21:00:47 -0800 |
parents | 301a9096219d |
children |
line wrap: on
line source
build_image: (cd /my/proj/homeauto/lib; tar czf /my/site/projects/rdfdb/more.tgz *.py) docker build --network=host -t bang6:5000/xidle_x86:latest . docker push bang6:5000/xidle_x86:latest build_image_pi: (cd /my/proj/homeauto/lib; tar czf /my/site/projects/rdfdb/more.tgz *.py) docker build --file Dockerfile.pi --network=host -t bang6:5000/xidle_pi:latest . docker push bang6:5000/xidle_pi:latest shell: docker run --rm -it --cap-add SYS_PTRACE -v /tmp/.X11-unix/:/tmp/.X11-unix/ -v /home/drewp/.Xauthority:/root/.Xauthority --net=host bang6:5000/xidle_x86:latest /bin/sh local_run: docker run --rm -it -v /tmp/.X11-unix/:/tmp/.X11-unix/ -v /home/drewp/.Xauthority:/root/.Xauthority -p 9107:9107 --net=host bang6:5000/xidle_x86:latest python ./xidle.py -v redeploy: build_image build_image_pi sudo /my/proj/ansible/playbook -t homeauto_xidle