Install pyrsistent specifically on curiesync
For some reason the pyrsistent dependency goes into
/usr/lib/python3.7/dist-package which for some reason isn't read by the
provided python.
This patch installs it in a directory that is read.
@@ -15,6 +15,7 @@ COPY curieconf-utils /curieconf-utils
RUN cd /curieconf-utils ; pip3 install --no-cache-dir .
COPY curieconf-client /curieconf-client
RUN cd /curieconf-client ; pip3 install --no-cache-dir .
+RUN pip3 install -t /usr/local/lib/python3.7/dist-packages --no-cache-dir pyrsistent
COPY init /init
ENTRYPOINT ["/usr/bin/dumb-init", "/bin/bash", "/init/pull.sh"]
