view service/tomatoWifi/makefile @ 1221:05e9c01471a7

parse another version of 'unknown' Ignore-this: d489103112d86db63785dd9431283057 darcs-hash:2cfc4b1ea6ee2cfb4722f05ef26230945dd37fb0
author drewp <drewp@bigasterisk.com>
date Sat, 30 Mar 2019 16:56:47 -0700
parents afd19bf8b499
children
line wrap: on
line source

JOB=wifi
PORT=9070

TAG=bang6:5000/${JOB}_x86:latest

build_image:
	rm -rf tmp_ctx
	mkdir -p tmp_ctx
	cp -a Dockerfile ../../lib/*.py *.py *.n3 *.json *.html req* tmp_ctx
	docker build --network=host -t ${TAG} tmp_ctx
	docker push ${TAG}
	rm -r tmp_ctx

shell:
	docker run --rm -it --cap-add SYS_PTRACE --net=host ${TAG} /bin/bash

local_run:
	docker run --rm -it -p ${PORT}:${PORT} \
          --net=host \
          ${TAG} \
          python tomatoWifi.py -v