summaryrefslogtreecommitdiff
path: root/test/docker/centos8
blob: 7f2dbd061d32664e68f6249a7f339b8dc702e6c5 (plain)
1
2
3
4
5
6
7
8
9
10
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