comparison service/piNode/Dockerfile @ 1143:d1bc88f67969

RgbPixelsAnimation and docker build updates Ignore-this: c79e4a64bb5ad8683aa837839e79785b darcs-hash:bcc0201b2aaf3a1f1f689a6437eef8298970c58a
author drewp <drewp@bigasterisk.com>
date Sat, 03 Mar 2018 18:09:34 -0800
parents 6ffff91eea2f
children cb3738b1a15a
comparison
equal deleted inserted replaced
1142:eb36b30f53b9 1143:d1bc88f67969
1 FROM arm32v6/python:2-alpine3.7 1 FROM bang6:5000/pi_base
2
3
4 WORKDIR /opt
5 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
6 2
7 COPY requirements.txt ./ 3 COPY requirements.txt ./
8 RUN pip download --cache-dir /tmp/pip-cache -r requirements.txt
9 4
10 RUN pip install --cache-dir /tmp/pip-cache -r requirements.txt 5 RUN pip install -r requirements.txt
11 6
12 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ 7 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./
13 RUN tar xvzf more.tgz 8 RUN tar xvzf more.tgz
14 9
10 ADD https://projects.bigasterisk.com/rdfdb/more2.tgz ./
11 RUN tar xvzf more2.tgz
12
15 COPY *.py ./ 13 COPY *.py ./
16 COPY config/ ./config/ 14 COPY config/ ./config/
17 15
18 # merge this with above
19 RUN apk add --no-cache libc6-compat
20
21 CMD [ "python", "./piNode.py" ] 16 CMD [ "python", "./piNode.py" ]