annotate service/arduinoNode/Dockerfile @ 1512:1e9cfec1be78

don't require first arg on PatchedGraph.serialize Ignore-this: bc695823e03dbd012e03efa4e40b6aca darcs-hash:1dbf9271b5ca55c78987c474ef223af9d5b811d2
author drewp <drewp@bigasterisk.com>
date Mon, 03 Feb 2020 23:46:29 -0800
parents ba56263fe3b2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
1423
ba56263fe3b2 arduinonode to docker
drewp <drewp@bigasterisk.com>
parents: 1259
diff changeset
5 RUN apt-get install -y arduino-mk indent
ba56263fe3b2 arduinonode to docker
drewp <drewp@bigasterisk.com>
parents: 1259
diff changeset
6
1141
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
7 COPY requirements.txt ./
1423
ba56263fe3b2 arduinonode to docker
drewp <drewp@bigasterisk.com>
parents: 1259
diff changeset
8 RUN pip install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
1141
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
9
1188
afd19bf8b499 various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents: 1148
diff changeset
10 COPY arduino-libraries/ ./arduino-libraries/
1141
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
11 COPY *.py ./
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 EXPOSE 9059
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
15
34fa399dc5c9 docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff changeset
16 CMD [ "python", "./arduinoNode.py" ]