<commit_before>ARG hadoop_version=3.2.0
ARG python_version=3.6

FROM crs4/pydoop-base:${hadoop_version}-${python_version}

COPY . /build/pydoop
WORKDIR /build/pydoop

RUN ${PYTHON} -m pip install --no-cache-dir --upgrade -r requirements.txt \
    && ${PYTHON} setup.py build \
    && ${PYTHON} setup.py install --skip-build \
    && ${PYTHON} setup.py clean<commit_msg>docker: install from source dist tarball<commit_after>ARG hadoop_version=3.2.0
ARG python_version=3.6

FROM crs4/pydoop-base:${hadoop_version}-${python_version}

COPY . /build/pydoop
WORKDIR /build/pydoop

RUN ${PYTHON} -m pip install --no-cache-dir --upgrade -r requirements.txt \
    && ${PYTHON} setup.py sdist \
    && ${PYTHON} -m pip install --pre dist/pydoop-$(cat VERSION).tar.gz
{'fraction_non_alphanumeric': 0.15608465608465608, 'fraction_numerical': 0.015873015873015872, 'mean_word_length': 3.761006289308176, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '161646', 'n_tokens_mistral': 289, 'n_tokens_neox': 284, 'n_words': 62}