aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.python2.7
blob: 0e92635d3bf4b8e8de41571fad734eeb3b797d64 (plain)
1
2
3
4
5
6
7
8
9
10
11
FROM python:2.7-alpine
# Dockerfile to run tests under python2.7

# docker build -t ipaddress-python2.7 . -f Dockerfile.python2.7
RUN apk add make
RUN pip install flake8

ADD . .
RUN python test_ipaddress.py
RUN make lint
CMD python test_ipaddress.py