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 WORKDIR /python-magic COPY . . RUN python3 -m pip install tox CMD python3 -m tox