Mercurial > code > home > repos > homeauto
annotate service/arduinoNode/makefile @ 383:8f5a16a55f64
various docker setups and build fixes
Ignore-this: adb559337fa1bd058818d1fc99d80ac1
author | drewp@bigasterisk.com |
---|---|
date | Fri, 28 Dec 2018 02:13:15 -0800 |
parents | 13b2a61650c1 |
children | 12f9f1838fb5 |
rev | line source |
---|---|
336 | 1 build_image: |
2 (cd /my/proj/homeauto/lib; tar czf /my/site/projects/rdfdb/more.tgz *.py) | |
3 docker build --network=host -t bang6:5000/arduino_node . | |
4 docker push bang6:5000/arduino_node | |
5 | |
6 shell: | |
383
8f5a16a55f64
various docker setups and build fixes
drewp@bigasterisk.com
parents:
343
diff
changeset
|
7 docker run -it --net=host -v `pwd`/config:/opt/config bang6:5000/arduino_node /bin/bash |
336 | 8 |
9 local_run: | |
10 docker run -it -p 9059:9059 --device=/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A900cepU-if00-port0 --net=host bang6:5000/arduino_node python ./arduinoNode.py -v | |
343 | 11 |
12 push_config: | |
383
8f5a16a55f64
various docker setups and build fixes
drewp@bigasterisk.com
parents:
343
diff
changeset
|
13 docker run -it --net=host -v `pwd`/config:/opt/config bang6:5000/arduino_node python pushConfig.py arduino/ |