annotate service/arduinoNode/Dockerfile @ 586:b112da45e035

fix str/bytes to mqtt client Ignore-this: 6840d55dfdf0408cee1b4fb39a4b3c7c
author drewp@bigasterisk.com
date Fri, 10 May 2019 02:28:14 -0700
parents 12f9f1838fb5
children 5c750342604d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
383
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents: 343
diff changeset
1 FROM bang6:5000/base_x86
336
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
2
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
3 WORKDIR /opt
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
4
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
5 COPY requirements.txt ./
383
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents: 343
diff changeset
6 RUN pip install -r requirements.txt
456
12f9f1838fb5 arduinoNode: build updates, stats support, etc
drewp@bigasterisk.com
parents: 383
diff changeset
7 RUN apt-get install -y arduino-mk indent
336
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
8
383
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents: 343
diff changeset
9 COPY arduino-libraries/ ./arduino-libraries/
336
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
10 COPY *.py ./
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
11 COPY static/ ./static/
456
12f9f1838fb5 arduinoNode: build updates, stats support, etc
drewp@bigasterisk.com
parents: 383
diff changeset
12 COPY config/ ./config/
336
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
13
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
14 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
15 RUN tar xvzf more.tgz
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
16
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
17 EXPOSE 9059
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
18
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
19 CMD [ "python", "./arduinoNode.py" ]