diff service/rfid_pn532_py/Dockerfile.pyfreefare.x86 @ 1206:a9af0fa097d0

working on pyfreefare Ignore-this: aaf74e9bbfeac1cafeff31cb2315b29a darcs-hash:07db9edfbdac72e6c137ad803e0298b39a0e1f53
author drewp <drewp@bigasterisk.com>
date Mon, 04 Mar 2019 15:18:46 -0800
parents
children db0534d5e264
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/service/rfid_pn532_py/Dockerfile.pyfreefare.x86	Mon Mar 04 15:18:46 2019 -0800
@@ -0,0 +1,12 @@
+FROM bang6:5000/base_x86
+
+WORKDIR /opt
+
+RUN apt-get install -y python-clang-5.0 libclang-5.0-dev
+RUN pip install ctypeslib2
+
+RUN apt-get install -y libnfc5 libfreefare0 libnfc-dev libfreefare-dev 
+
+COPY build_ctypes_modules.sh ./
+
+CMD ["/opt/build_ctypes_modules.sh"]