From 584ac7d2f2e916ecb5393923f4d31334ae98870d Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Fri, 18 Oct 2019 02:37:59 +0200 Subject: Add a dockerfile to test building on Python2.6 These days, I don't have 2.6 installed on my machine anymore, so use a docker image to test that. --- .dockerignore | 3 +++ Dockerfile.python2.6 | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile.python2.6 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 -- cgit v1.2.3