Mercurial > code > home > repos > homeauto
annotate service/arduinoNode/Dockerfile @ 1407:6c86c6a87eab
update standardservice. add --dns to all docker runs
Ignore-this: 7439dab992e614fa8fa562f4f750e57b
darcs-hash:f765086ee3524d876864142fc6c37d971ec970ac
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Tue, 23 Jul 2019 10:29:31 -0700 |
parents | 672a3d830e7f |
children | 5c750342604d |
rev | line source |
---|---|
1188
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
1148
diff
changeset
|
1 FROM bang6:5000/base_x86 |
1141
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
2 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
3 WORKDIR /opt |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
4 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
5 COPY requirements.txt ./ |
1188
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
1148
diff
changeset
|
6 RUN pip install -r requirements.txt |
1259
672a3d830e7f
arduinoNode: build updates, stats support, etc
drewp <drewp@bigasterisk.com>
parents:
1188
diff
changeset
|
7 RUN apt-get install -y arduino-mk indent |
1141
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
8 |
1188
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
1148
diff
changeset
|
9 COPY arduino-libraries/ ./arduino-libraries/ |
1141
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
10 COPY *.py ./ |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
11 COPY static/ ./static/ |
1259
672a3d830e7f
arduinoNode: build updates, stats support, etc
drewp <drewp@bigasterisk.com>
parents:
1188
diff
changeset
|
12 COPY config/ ./config/ |
1141
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
13 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
14 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
15 RUN tar xvzf more.tgz |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
16 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
17 EXPOSE 9059 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
18 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
19 CMD [ "python", "./arduinoNode.py" ] |