<commit_before>FROM nfnty/arch-mini:latest

ENV LANG en_US.UTF-8
ENV BEETSDIR /config
ENV USERID 1000

# RUN echo "nameserver 10.0.0.1" > /etc/resolv.conf
# dont do this - find out why resolf.conf is not being linked from host

RUN pacman -Syu --noconfirm --needed \ 
    beets \ 
    bash-completion \ 
    python2-flask python2-gobject python2-pyacoustid python2-pylast python2-requests \
  && (yes | pacman -Scc)

RUN mkdir -p /config
ADD firstrun.sh /root/firstrun.sh
RUN chmod +x /root/firstrun.sh && firstrun.sh


CMD ["/bin/bash"]<commit_msg>Run as a defined user<commit_after>FROM nfnty/arch-mini:latest

ENV LANG en_US.UTF-8
ENV BEETSDIR /config
ENV USERID 1000

RUN pacman -Syu --noconfirm --needed \ 
    beets \ 
    bash-completion \ 
    python2-pylast python2-requests wget \
  && (yes | pacman -Scc)

RUN mkdir -p /config
ADD firstrun.sh /root/firstrun.sh
RUN chmod +x /root/firstrun.sh && /root/firstrun.sh

RUN useradd -g 100 -u $USERID -M -s /bin/bash beetuser

USER beetuser

CMD ["/bin/bash"]
{'fraction_non_alphanumeric': 0.11549851924975321, 'fraction_numerical': 0.024679170779861797, 'mean_word_length': 2.9921259842519685, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '6733360', 'n_tokens_mistral': 423, 'n_tokens_neox': 386, 'n_words': 111}