blob: 9c58f6bf250f05707c310b309b2d8da1228bc3eb [file] [log] [blame]
FROM python:2.7-alpine
# Dockerfile to run tests under python2.7
# docker build -t ipaddress-python2.7 . -f test-python2.7.Dockerfile
RUN apk add make
RUN pip install flake8
ADD . .
RUN python test_ipaddress.py
RUN make lint
CMD python test_ipaddress.py