view service/beacon/makefile @ 1462:2b29f14eb6bd

try new graph+view widget Ignore-this: d5f9c5dc52f04324368716ba2f604fdb darcs-hash:44e85a5c075ef73c34a58deaa3a3c1e8390dae52
author drewp <drewp@bigasterisk.com>
date Sun, 24 Nov 2019 00:01:00 -0800
parents 1ddd1f057749
children
line wrap: on
line source

build_image_x86:
	docker build --network=host -t bang6:5000/beacon_x86:latest .
	docker push bang6:5000/beacon_x86:latest

build_image_pi:
	docker build --file Dockerfile.pi --network=host -t bang6:5000/beacon_pi:latest .
	docker push bang6:5000/beacon_pi:latest

shell:
	docker run --rm -it --cap-add SYS_PTRACE --net=host bang6:5000/beacon_x86:latest  /bin/sh

local_run:
	docker run --rm -it -p 10004:10004 --net=host bang6:5000/beacon_x86:latest

fresh_sudo:
	sudo -v
redeploy_x86: fresh_sudo build_image_x86
	sudo /my/proj/ansible/playbook -l dash,bang  -t rfid
	supervisorctl -s http://$(RUNHOST):9001/ restart $(JOB)_$(PORT)