summaryrefslogtreecommitdiff
path: root/test/docker/centos8
diff options
context:
space:
mode:
Diffstat (limited to 'test/docker/centos8')
-rw-r--r--test/docker/centos89
1 files changed, 9 insertions, 0 deletions
diff --git a/test/docker/centos8 b/test/docker/centos8
new file mode 100644
index 0000000..968f6b6
--- /dev/null
+++ b/test/docker/centos8
@@ -0,0 +1,9 @@
+FROM centos:8
+RUN yum -y update
+RUN yum -y install file-libs python3 python2 which glibc-locale-source
+RUN yum reinstall glibc-common -y && \
+ localedef -i en_US -f UTF-8 en_US.UTF-8 && \
+ echo "LANG=en_US.UTF-8" > /etc/locale.conf
+ENV LANG en_US.UTF-8
+COPY . /python-magic
+CMD cd /python-magic/test && python3 ./run.py