diff service/rfid_pn532_py/Dockerfile.pi @ 1235:d8aa414f21d9

py3, rfid-console rename Ignore-this: 1b28d912e8847685a87c0c9ccb703608 darcs-hash:1812ff3e65cffea158d10f03e565942a684b4bd4
author drewp <drewp@bigasterisk.com>
date Sun, 07 Apr 2019 03:58:51 -0700
parents e720c1cff03e
children
line wrap: on
line diff
--- a/service/rfid_pn532_py/Dockerfile.pi	Sun Apr 07 03:58:05 2019 -0700
+++ b/service/rfid_pn532_py/Dockerfile.pi	Sun Apr 07 03:58:51 2019 -0700
@@ -1,13 +1,13 @@
 FROM bang6:5000/base_pi
 
 WORKDIR /opt
-RUN apt-get install -y libnfc5 libfreefare0 libnfc-dev libfreefare-dev 
-RUN apt-get install -y python3-nose2
+RUN apt-get install -y libnfc5 libfreefare0 libnfc-dev libfreefare-dev python3-nose2 libffi-dev
 COPY pyfreefare-build-pi ./pyfreefare-build
 
 COPY requirements.txt .
-RUN pip3 install -r requirements.txt
-RUN pip3 install -v -U 'https://github.com/drewp/cyclone/archive/python3.zip'
+RUN pip3 install -Ur requirements.txt
+# not sure why this doesn't work from inside requirements.txt
+RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip'
 
 COPY *.py *.html  ./