comparison service/mqtt_graph_bridge/makefile @ 373:2158e7ad19b1

receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer Ignore-this: 3b180d528a9bd7f2f330e565311013d6
author drewp@bigasterisk.com
date Sat, 08 Dec 2018 01:48:37 -0800
parents
children 79d041273e26
comparison
equal deleted inserted replaced
372:c52e7abdd6b1 373:2158e7ad19b1
1 JOB=mqtt_graph_bridge
2 PORT=10008
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 *.txt tmp_ctx
10 docker build --network=host -t ${TAG} tmp_ctx
11 docker push ${TAG}
12 rm -rf tmp_ctx
13
14
15 shell:
16 docker run --rm -it --cap-add SYS_PTRACE --net=host bang6:5000/mqtt_graph_bridge_x86:latest /bin/sh
17
18 local_run:
19 docker run --rm -it --net=host bang6:5000/mqtt_graph_bridge_x86:latest