view service/rfid_pn532_py/Dockerfile.pyfreefare.x86 @ 1207:db0534d5e264

build more of libfreefare Ignore-this: efb50f50a9cc9de6d8ce068cd391a6fc darcs-hash:a9f5f5687189fca481c18daccf81b5a2068c5d57
author drewp <drewp@bigasterisk.com>
date Sun, 10 Mar 2019 04:02:59 -0700
parents a9af0fa097d0
children
line wrap: on
line source

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"]