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