1FROM python:2.7-alpine
2# Dockerfile to run tests under python2.7
3
4# docker build -t ipaddress-python2.7 . -f test-python2.7.Dockerfile
5RUN apk add make
6RUN pip install flake8
7
8ADD . .
9RUN python test_ipaddress.py
10RUN make lint
11CMD python test_ipaddress.py
12