Mercurial > code > home > repos > homeauto
annotate service/air_particles/makefile @ 1177:025ad7fef554
pms5003 -> ttyUSB -> influxdb
Ignore-this: d0c8851b557a88361a1755b93af4fc58
darcs-hash:e94133a9ca5c05d2fd73c3da3c94818f0b8be5b2
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 21 Nov 2018 22:44:08 -0800 |
parents | |
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 |