diff options
-rw-r--r-- | .dockerignore | 3 | ||||
-rw-r--r-- | Dockerfile.python2.6 | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..c778784 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +build +dist +ipaddress.egg-info diff --git a/Dockerfile.python2.6 b/Dockerfile.python2.6 new file mode 100644 index 0000000..1c11f9f --- /dev/null +++ b/Dockerfile.python2.6 @@ -0,0 +1,8 @@ +FROM lovato/python-2.6.6 +# Dockerfile to run tests under python2.6 + +# docker build -t ipaddress-python2.6 . -f Dockerfile.python2.6 + +ADD . . +RUN python test_ipaddress.py +CMD python test_ipaddress.py |