Mercurial > code > home > repos > homeauto
comparison service/arduinoNode/Dockerfile @ 1188:afd19bf8b499
various docker setups and build fixes
Ignore-this: adb559337fa1bd058818d1fc99d80ac1
darcs-hash:9aa24b30a2d3eab3676b85d2aa686d6ef24b5717
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Fri, 28 Dec 2018 02:13:15 -0800 |
parents | 8b4eda2cf0bd |
children | 12f9f1838fb5 |
comparison
equal
deleted
inserted
replaced
1187:2ceb776a5f1b | 1188:afd19bf8b499 |
---|---|
1 FROM alpine:3.7 | 1 FROM bang6:5000/base_x86 |
2 | 2 |
3 WORKDIR /opt | 3 WORKDIR /opt |
4 RUN apk add --no-cache gcc build-base jpeg-dev lapack-dev libffi-dev linux-headers musl-dev openssl-dev py2-cffi py2-numpy py2-numpy-f2py py2-pip python2 python2-dev indent | |
5 | 4 |
6 COPY requirements.txt ./ | 5 COPY requirements.txt ./ |
7 RUN pip download --cache-dir /tmp/pip-cache -r requirements.txt | 6 RUN pip install -r requirements.txt |
8 RUN pip install --cache-dir /tmp/pip-cache -r requirements.txt | |
9 | 7 |
8 COPY arduino-libraries/ ./arduino-libraries/ | |
10 COPY *.py ./ | 9 COPY *.py ./ |
11 COPY static/ ./static/ | 10 COPY static/ ./static/ |
12 | 11 |
13 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ | 12 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ |
14 RUN tar xvzf more.tgz | 13 RUN tar xvzf more.tgz |