<commit_before>FROM ubuntu:16.04

RUN apt-get update && apt-get install -y \
    cowsay vim mc git silversearcher-ag

RUN echo 'root:toor' | chpasswd

ENV worker batman
ENV workdir /basement

RUN useradd -s /bin/bash -d ${workdir} ${worker}
RUN usermod -a -G sudo,users,plugdev ${worker}

COPY entrypoint.sh /usr/local/bin/basement-entrypoint

USER ${worker}

COPY gitconfig  ${workdir}/.gitconfig
COPY vimrc  ${workdir}/.vimrc
COPY vim    ${workdir}/.vim

ENTRYPOINT ["basement-entrypoint"]
CMD ["/bin/bash"]<commit_msg>chown for worker home dir<commit_after>FROM ubuntu:16.04

RUN apt-get update && apt-get install -y \
    cowsay vim mc git silversearcher-ag

RUN echo 'root:toor' | chpasswd

ENV worker batman
ENV workdir /basement

WORKDIR ${workdir}

RUN useradd -s /bin/bash -d ${workdir} ${worker}
RUN usermod -a -G sudo,users,plugdev ${worker}
RUN chown -R ${worker}:${worker} ${workdir}

COPY entrypoint.sh /usr/local/bin/basement-entrypoint

USER ${worker}

COPY gitconfig  ${workdir}/.gitconfig
COPY vimrc  ${workdir}/.vimrc
COPY vim    ${workdir}/.vim

ENTRYPOINT ["basement-entrypoint"]
CMD ["/bin/bash"]
{'fraction_non_alphanumeric': 0.13595706618962433, 'fraction_numerical': 0.007155635062611807, 'mean_word_length': 4.180555555555555, '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': '1134733', 'n_tokens_mistral': 434, 'n_tokens_neox': 411, 'n_words': 118}