<commit_before>FROM docker:dind
LABEL maintainer "<NAME> <<EMAIL>>"

ENV TEST_USER=molecule
ENV TEST_HOME_DIR=/home/${TEST_USER}

ENV PACKAGES="\
    gcc \
    make \
    bash \
    shadow \
    libffi-dev \
    musl-dev \
    openssl-dev \
    py-pip \
    python \
    python-dev \
    linux-headers \
    sudo \
    rsync \
"

ENV PIP_PACKAGES="\
    virtualenv \
    molecule \
    ansible \
    docker-py \
"

RUN \
    apk update \
    && apk add --update --no-cache ${PACKAGES} \
    && rm -rf /var/cache/apk/* \
    && pip install --no-cache-dir ${PIP_PACKAGES} \
    && rm -rf /root/.cache \
    && adduser -D -h ${TEST_HOME_DIR} ${TEST_USER} \
    && usermod -aG dockremap ${TEST_USER} \
    && echo "${TEST_USER} ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers

USER ${TEST_USER}
ENV SHELL /bin/bash<commit_msg>I update the dockerfile for work with az client, rubocop (#1334)<commit_after>FROM docker:dind
LABEL maintainer "<NAME> <<EMAIL>>"

ENV TEST_USER=molecule
ENV TEST_HOME_DIR=/home/${TEST_USER}

ENV PACKAGES="\
    gcc \
    make \
    bash \
    shadow \
    libffi-dev \
    musl-dev \
    openssl-dev \
    py-pip \
    python \
    python-dev \
    linux-headers \
    sudo \
    rsync \
    curl \ 
    ruby \
    ruby-dev \ 
"

ENV PIP_PACKAGES="\
    ansible[azure] \
    virtualenv \
    molecule \
    ansible \
    docker-py \
    azure-cli \
    packaging \
    msrestazure \
    pywinrm \ 
"

RUN \
    apk update \
    && apk add --update --no-cache ${PACKAGES} \
    && rm -rf /var/cache/apk/* \
    && pip install --no-cache-dir ${PIP_PACKAGES} \
    && rm -rf /root/.cache \
    && adduser -D -h ${TEST_HOME_DIR} ${TEST_USER} \
    && usermod -aG dockremap ${TEST_USER} \
    && echo "${TEST_USER} ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers

USER ${TEST_USER}
ENV SHELL /bin/bash
{'fraction_non_alphanumeric': 0.15077605321507762, 'fraction_numerical': 0.0022172949002217295, 'mean_word_length': 1.96875, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '2434650', 'n_tokens_mistral': 730, 'n_tokens_neox': 683, 'n_words': 153}