Mercurial > code > home > repos > homeauto
view service/piNode/Dockerfile @ 1141:34fa399dc5c9
docker and makefile for arduinoNode
Ignore-this: bdff7ca263b699f7829da324807a557
darcs-hash:e5ad82fef1f11b07fcb3d6d73bd5d3c8863308d5
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 03 Mar 2018 18:01:02 -0800 |
parents | 6ffff91eea2f |
children | f64e20d3407e |
line wrap: on
line source
FROM arm32v6/python:2-alpine3.7 WORKDIR /opt RUN apk add --no-cache git gcc linux-headers musl-dev libffi-dev py2-numpy openssl-dev jpeg-dev py2-cffi py2-cryptography py2-numpy py2-numpy-f2py COPY requirements.txt ./ RUN pip download --cache-dir /tmp/pip-cache -r requirements.txt RUN pip install --cache-dir /tmp/pip-cache -r requirements.txt ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ RUN tar xvzf more.tgz COPY *.py ./ COPY config/ ./config/ # merge this with above RUN apk add --no-cache libc6-compat CMD [ "python", "./piNode.py" ]