Zsolt Haraszti | 7003f2b | 2016-09-08 15:56:14 -0700 | [diff] [blame] | 1 | FROM alpine:3.1 |
2 | |||||
3 | # Update to have latest images | ||||
4 | RUN apk add --update python py-pip | ||||
5 | |||||
6 | # Install app dependencies | ||||
7 | RUN apk add build-base gcc abuild binutils python-dev && \ | ||||
8 | pip install scapy twisted | ||||
9 | |||||
10 | # Bundle app source | ||||
11 | COPY voltha /voltha | ||||
12 | |||||
13 | # Exposing process and default entry point | ||||
14 | # EXPOSE 8000 | ||||
15 | CMD ["python", "voltha/voltha.py"] | ||||
16 |