comparison service/piNode/Dockerfile @ 332:ca0fd0774d07

piNode Dockerfile based on alpine that's not working because of a libc issue Ignore-this: ca2f4e7fa346df7436ed60a516bc57f6
author drewp@bigasterisk.com
date Tue, 20 Feb 2018 21:35:03 -0800
parents
children f64e20d3407e
comparison
equal deleted inserted replaced
331:a94f2a522d41 332:ca0fd0774d07
1 FROM arm32v6/python:2-alpine3.7
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
7 COPY requirements.txt ./
8 RUN pip download --cache-dir /tmp/pip-cache -r requirements.txt
9
10 RUN pip install --cache-dir /tmp/pip-cache -r requirements.txt
11
12 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./
13 RUN tar xvzf more.tgz
14
15 COPY *.py ./
16 COPY config/ ./config/
17
18 # merge this with above
19 RUN apk add --no-cache libc6-compat
20
21 CMD [ "python", "./piNode.py" ]