<commit_before>FROM horgix/arch-ssh-uptodate
MAINTAINER <NAME> <<EMAIL>>

RUN pacman --noconfirm -S python3 python-setuptools
RUN git clone https://github.com/Horgix/py3status.git /root/py3status
RUN git clone https://github.com/Horgix/pretty3bar.git /root/pretty3bar
RUN cd /root/ && python setup.py install
RUN sed -i 's/\(PATH=".*\)"/\1:\/root\/pretty3bar"/' /etc/profile<commit_msg>Arch-py3status: rework with ENV directives<commit_after>FROM horgix/arch-ssh-uptodate
MAINTAINER <NAME> <<EMAIL>>

ENV FORK  Horgix/py3status
ENV ORIG  ultrabug/py3status

ENV FORKHTTPS https://github.com/${FORK}.git
ENV FORKSSH   <EMAIL>:${FORK}.git
ENV ORIGSSH   git@github.com:${ORIG}.git

RUN pacman --noconfirm -S \
  python2 \
  python  \
  python-setuptools

RUN git clone ${FORKHTTPS} /root/py3status \
  && git -C /root/py3status remote add fork  ${FORKSSH} \
  && git -C /root/py3status remote set-url origin ${ORIGSSH}

RUN git clone https://github.com/Horgix/pretty3bar.git /root/pretty3bar \
  && cd /root/pretty3bar \
  && git remote set-url origin <EMAIL>:Horgix/pretty3bar.git

# docker run -v ~/.ssh:/root/.ssh:ro
{'fraction_non_alphanumeric': 0.14874551971326164, 'fraction_numerical': 0.016129032258064516, 'mean_word_length': 3.814655172413793, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 4, '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': '7215879', 'n_tokens_mistral': 447, 'n_tokens_neox': 426, 'n_words': 97}