diff service/rfid_pn532_py/Dockerfile.pyfreefare.x86 @ 404:19ef0ac8f7f7

build more of libfreefare Ignore-this: efb50f50a9cc9de6d8ce068cd391a6fc
author drewp@bigasterisk.com
date Sun, 10 Mar 2019 04:02:59 -0700
parents b4404948d1e8
children
line wrap: on
line diff
--- a/service/rfid_pn532_py/Dockerfile.pyfreefare.x86	Mon Mar 04 15:18:46 2019 -0800
+++ b/service/rfid_pn532_py/Dockerfile.pyfreefare.x86	Sun Mar 10 04:02:59 2019 -0700
@@ -2,11 +2,9 @@
 
 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 
+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 ["/opt/build_ctypes_modules.sh"]
+CMD ["/bin/sh", "/opt/build_ctypes_modules.sh"]