summaryrefslogtreecommitdiff
path: root/test/Dockerfile_centos8
diff options
context:
space:
mode:
Diffstat (limited to 'test/Dockerfile_centos8')
-rw-r--r--test/Dockerfile_centos86
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Dockerfile_centos8 b/test/Dockerfile_centos8
index 505221b..968f6b6 100644
--- a/test/Dockerfile_centos8
+++ b/test/Dockerfile_centos8
@@ -1,5 +1,9 @@
FROM centos:8
RUN yum -y update
-RUN yum -y install file-libs python3 python2 which
+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