<commit_before>FROM python:3.6-slim-stretch
LABEL maintainer "DataMade <<EMAIL>>"

ENV PYTHONUNBUFFERED=1

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        libxml2-dev libxslt1-dev antiword unrtf poppler-utils \
        pstotext tesseract-ocr flac ffmpeg lame libmad0 \
        libsox-fmt-mp3 sox libjpeg-dev swig gdal-bin postgresql-client

RUN mkdir /app
WORKDIR /app<commit_msg>Add some directories so installation of the Postgres client works<commit_after>FROM python:3.6-slim-stretch
LABEL maintainer "DataMade <<EMAIL>>"

ENV PYTHONUNBUFFERED=1

# Manually create a couple of directories omitted by OS image. See:
# https://github.com/dalibo/temboard/issues/211

RUN apt-get update && \
    mkdir -p /usr/share/man/man1 && \
    mkdir -p /usr/share/man/man7 && \
    apt-get install -y --no-install-recommends \
        libxml2-dev libxslt1-dev antiword unrtf poppler-utils \
        pstotext tesseract-ocr flac ffmpeg lame libmad0 \
        libsox-fmt-mp3 sox libjpeg-dev swig gdal-bin postgresql-client

RUN mkdir /app
WORKDIR /app
{'fraction_non_alphanumeric': 0.09710550887021475, 'fraction_numerical': 0.017740429505135387, 'mean_word_length': 3.1712062256809337, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1237437', 'n_tokens_mistral': 399, 'n_tokens_neox': 386, 'n_words': 100}