diff service/cardReader/Dockerfile.pyfreefare.x86 @ 1526:c476543e761e

rename rfid_pn532_py Ignore-this: 89356f780bb5df4d9ec639c44d2a3a67 darcs-hash:212e7f3250cf67ce80922597188d33547d41b0f8
author drewp <drewp@bigasterisk.com>
date Wed, 05 Feb 2020 16:40:46 -0800
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/service/cardReader/Dockerfile.pyfreefare.x86	Wed Feb 05 16:40:46 2020 -0800
@@ -0,0 +1,10 @@
+FROM bang6:5000/base_x86
+
+WORKDIR /opt
+
+RUN apt-get install -y python-clang-5.0 libclang-5.0-dev libnfc5 libfreefare0 libnfc-dev libfreefare-dev 
+RUN pip install git+https://github.com/drewp/ctypeslib.git@enable-modules-flag
+
+COPY build_ctypes_modules.sh ./
+
+CMD ["/bin/sh", "/opt/build_ctypes_modules.sh"]