annotate service/air_particles/makefile @ 1510:2b6e939c8b10
release 0.10.0
Ignore-this: d496a61c0cb8d85ac7b81dc405894cbf
darcs-hash:2b62ccdec55f949d7c77fff0d9e6b370d2726716
author |
drewp <drewp@bigasterisk.com> |
date |
Mon, 03 Feb 2020 22:08:54 -0800 |
parents |
025ad7fef554 |
children |
|
rev |
line source |
1177
|
1 build_image:
|
|
2 docker build --network=host -t bang6:5000/air_particles_x86:latest .
|
|
3 docker push bang6:5000/air_particles_x86:latest
|
|
4
|
|
5 build_image_pi:
|
|
6 docker build --file Dockerfile.pi --network=host -t bang6:5000/air_particles_pi:latest .
|
|
7 docker push bang6:5000/air_particles_pi:latest
|
|
8
|
|
9
|
|
10 shell:
|
|
11 docker run --rm -it --cap-add SYS_PTRACE --device=/dev/ttyUSB0 --net=host bang6:5000/air_particles_x86:latest /bin/sh
|
|
12
|
|
13 local_run:
|
|
14 docker run --rm -it --cap-add SYS_PTRACE --device=/dev/ttyUSB0 --net=host bang6:5000/air_particles_x86:latest python air_particles.py local
|