1# File to build docker (https://www.docker.com) images to run
2# dispynode containers.
3
4# This file builds dispy (http://dispy.sourceforge.net) with Python 2
5# using latest Ubuntu Linux.
6
7FROM ubuntu:latest
8
9RUN apt-get update && \
10  DEBIAN_FRONTEND=noninteractive apt-get install -yq libpython2.7-dev python-pip && \
11  apt-get clean && \
12  rm -rf /var/lib/apt/lists/* && \
13  pip install dispy psutil netifaces
14
15CMD ["/usr/local/bin/dispynode.py"]
16