From d022a14201ab18e5e9adaed813286d63f8b214ea Mon Sep 17 00:00:00 2001 From: Adam Hupp Date: Tue, 5 May 2020 19:07:57 -0700 Subject: Add docker tests for centos7 & 8 Since we have some breakage due to incompatible libraries there --- test/Dockerfile_centos7 | 5 +++++ test/Dockerfile_centos8 | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 test/Dockerfile_centos7 create mode 100644 test/Dockerfile_centos8 (limited to 'test') diff --git a/test/Dockerfile_centos7 b/test/Dockerfile_centos7 new file mode 100644 index 0000000..8620e7e --- /dev/null +++ b/test/Dockerfile_centos7 @@ -0,0 +1,5 @@ +FROM centos:7 +RUN yum -y update +RUN yum -y install file-devel python3 python2 which +COPY . /python-magic +CMD cd /python-magic/test && python3 ./run.py diff --git a/test/Dockerfile_centos8 b/test/Dockerfile_centos8 new file mode 100644 index 0000000..505221b --- /dev/null +++ b/test/Dockerfile_centos8 @@ -0,0 +1,5 @@ +FROM centos:8 +RUN yum -y update +RUN yum -y install file-libs python3 python2 which +COPY . /python-magic +CMD cd /python-magic/test && python3 ./run.py -- cgit v1.2.1