File: centos8

package info (click to toggle)
python-magic 2%3A0.4.27-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,040 kB
  • sloc: python: 710; sh: 13; makefile: 7
file content (11 lines) | stat: -rw-r--r-- 316 bytes parent folder | download | duplicates (2)
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