diff service/piNode/pi_base/Dockerfile @ 1143:d1bc88f67969

RgbPixelsAnimation and docker build updates Ignore-this: c79e4a64bb5ad8683aa837839e79785b darcs-hash:bcc0201b2aaf3a1f1f689a6437eef8298970c58a
author drewp <drewp@bigasterisk.com>
date Sat, 03 Mar 2018 18:09:34 -0800
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/service/piNode/pi_base/Dockerfile	Sat Mar 03 18:09:34 2018 -0800
@@ -0,0 +1,13 @@
+FROM resin/rpi-raspbian:jessie
+
+# built static per
+# https://resin.io/blog/building-arm-containers-on-any-x86-machine-even-dockerhub/
+COPY qemu-arm /usr/bin/qemu-arm
+
+# then do this on build host:
+# echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm:' > /proc/sys/fs/binfmt_misc/register
+
+WORKDIR /opt
+RUN apt-get update
+RUN apt-get install git build-essential python-pip python-numpy python-pillow python-cryptography
+RUN apt-get install python-dev zlib1g-dev