annotate service/dpms/makefile @ 1188:afd19bf8b499

various docker setups and build fixes Ignore-this: adb559337fa1bd058818d1fc99d80ac1 darcs-hash:9aa24b30a2d3eab3676b85d2aa686d6ef24b5717
author drewp <drewp@bigasterisk.com>
date Fri, 28 Dec 2018 02:13:15 -0800
parents
children 1007ca70c34d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1188
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
1 build_image:
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
2 (cd /my/proj/homeauto/lib; tar czf /my/site/projects/rdfdb/more.tgz *.py)
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
3 docker build --network=host -t bang6:5000/dpms_x86:latest .
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
4 docker push bang6:5000/dpms_x86:latest
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
5
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
6 build_image_pi:
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
7 (cd /my/proj/homeauto/lib; tar czf /my/site/projects/rdfdb/more.tgz *.py)
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
8 docker build --file Dockerfile.pi --network=host -t bang6:5000/dpms_pi:latest .
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
9 docker push bang6:5000/dpms_pi:latest
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
10
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
11
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
12 shell:
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
13 docker run --rm -it --cap-add SYS_PTRACE -v /tmp/.X11-unix/:/tmp/.X11-unix/ -v /home/drewp/.Xauthority:/root/.Xauthority --net=host bang6:5000/dpms_x86:latest /bin/sh
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
14
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
15 local_run:
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff changeset
16 docker run --rm -it -v /tmp/.X11-unix/:/tmp/.X11-unix/ -v /home/drewp/.Xauthority:/root/.Xauthority -p 9095:9095 --net=host bang6:5000/dpms python ./dpms_service.py