Mercurial > code > home > repos > homeauto
comparison service/mqtt_graph_bridge/makefile @ 460:7051b8b4766a
build updates. hack in r/g/b and some fixed multipliers
Ignore-this: 155d402cd863cf9be2b59f5595131c0d
author | drewp@bigasterisk.com |
---|---|
date | Sat, 20 Apr 2019 23:32:36 -0700 |
parents | 79d041273e26 |
children |
comparison
equal
deleted
inserted
replaced
459:a471688fb7b7 | 460:7051b8b4766a |
---|---|
4 TAG=bang6:5000/${JOB}_x86:latest | 4 TAG=bang6:5000/${JOB}_x86:latest |
5 | 5 |
6 build_image: | 6 build_image: |
7 rm -rf tmp_ctx | 7 rm -rf tmp_ctx |
8 mkdir -p tmp_ctx | 8 mkdir -p tmp_ctx |
9 cp -a Dockerfile ../../lib/*.py *.py *.txt tmp_ctx | 9 cp -a Dockerfile ../../lib/*.py *.py *.txt *.html tmp_ctx |
10 docker build --network=host -t ${TAG} tmp_ctx | 10 docker build --network=host -t ${TAG} tmp_ctx |
11 docker push ${TAG} | 11 docker push ${TAG} |
12 rm -rf tmp_ctx | 12 rm -rf tmp_ctx |
13 | 13 |
14 | 14 |
15 shell: build_image | 15 shell: build_image |
16 docker run --rm -it --cap-add SYS_PTRACE --net=host bang6:5000/mqtt_graph_bridge_x86:latest /bin/sh | 16 docker run --rm -it --cap-add SYS_PTRACE --net=host bang6:5000/mqtt_graph_bridge_x86:latest /bin/sh |
17 | 17 |
18 local_run: build_image | 18 local_run: build_image |
19 docker run --rm -it --net=host bang6:5000/mqtt_graph_bridge_x86:latest | 19 docker run --rm -it --net=host bang6:5000/mqtt_graph_bridge_x86:latest |
20 | |
21 redeploy: build_image | |
22 supervisorctl restart $(JOB)_$(PORT) |