<commit_before>###########################################################
# Dockerfile for custom Arch Linux
############################################################

FROM yantis/archlinux-tiny
MAINTAINER <NAME> <<EMAIL>>

ADD service /service
ADD init /init

    # Force a refresh of all the packages even if already up to date.
RUN pacman -Syyu --noconfirm && \

    # Allow passwordedless sudo for now but we will remove it later.
    pacman --noconfirm -S sudo && \
    echo "docker ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \

    # Install our programs
    pacman --noconfirm -S zsh wget file patch diffutils s6 execline htop \
            mlocate expac gzip tar shadow util-linux sed grep iputils && \

    # Add in the s6 stuff since it is small for optional usage.
    ln -s /bin/true /service/s6-svscan-log/finish && \

    # Install yaourt for easy AUR installs but remove later. To much bloat.
    pacman -S --noconfirm yaourt binutils gcc make autoconf fakeroot && \

    # Install procps without systemd.
    runuser -l docker -c "yaourt --noconfirm -S procps-ng-nosystemd" && \

    # Install oh-my-zsh from the AUR as it is my PKGBUILD with some fixes the other doesn't have.
    runuser -l docker -c "yaourt --noconfirm -S aur/oh-my-zsh-git" && \
    runuser -l docker -c "cp /usr/share/oh-my-zsh/zshrc /home/docker/.zshrc" && \

    # Setup root enviroment to be zsh
    cp /usr/share/oh-my-zsh/zshrc /root/.zshrc && \
    chsh -s /usr/bin/zsh root && \
    chsh -s /usr/bin/zsh docker && \

    # Install vim-tiny. Normally we would get it from the herecura repo
    # But it blocks dockerhub for some reason so host it in S3.
    # TODO: Look into pulling and building from:
    # https://github.com/herecura/herecura/tree/master/stable/vim
    wget --content-disposition "http://yantis-scripts.s3.amazonaws.com/vim-tiny-7.4.692-1-x86_64.pkg.tar.xz" && \
    pacman --noconfirm -U vim-tiny-7.4.692-1-x86_64.pkg.tar.xz && \
    rm vim-tiny-7.4.692-1-x86_64.pkg.tar.xz && \

    # Remove build dependencies.<commit_msg>Added which command. modified:   Dockerfile<commit_after>###########################################################
# Dockerfile for custom Arch Linux
############################################################

FROM yantis/archlinux-tiny
MAINTAINER <NAME> <<EMAIL>>

ADD service /service
ADD init /init

    # Force a refresh of all the packages even if already up to date.
RUN pacman -Syyu --noconfirm && \

    # Allow passwordedless sudo for now but we will remove it later.
    pacman --noconfirm -S sudo && \
    echo "docker ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \

    # Install our programs
    pacman --noconfirm -S zsh wget file patch diffutils s6 execline htop \
            mlocate expac gzip tar shadow util-linux sed grep iputils which && \

    # Add in the s6 stuff since it is small for optional usage.
    ln -s /bin/true /service/s6-svscan-log/finish && \

    # Install yaourt for easy AUR installs but remove later. To much bloat.
    pacman -S --noconfirm yaourt binutils gcc make autoconf fakeroot && \

    # Install procps without systemd.
    runuser -l docker -c "yaourt --noconfirm -S procps-ng-nosystemd" && \

    # Install oh-my-zsh from the AUR as it is my PKGBUILD with some fixes the other doesn't have.
    runuser -l docker -c "yaourt --noconfirm -S aur/oh-my-zsh-git" && \
    runuser -l docker -c "cp /usr/share/oh-my-zsh/zshrc /home/docker/.zshrc" && \

    # Setup root enviroment to be zsh
    cp /usr/share/oh-my-zsh/zshrc /root/.zshrc && \
    chsh -s /usr/bin/zsh root && \
    chsh -s /usr/bin/zsh docker && \

    # Install vim-tiny. Normally we would get it from the herecura repo
    # But it blocks dockerhub for some reason so host it in S3.
    # TODO: Look into pulling and building from:
    # https://github.com/herecura/herecura/tree/master/stable/vim
    wget --content-disposition "http://yantis-scripts.s3.amazonaws.com/vim-tiny-7.4.692-1-x86_64.pkg.tar.xz" && \
    pacman --noconfirm -U vim-tiny-7.4.692-1-x86_64.pkg.tar.xz && \
    rm vim-tiny-7.4.692-1-x86_64.pkg.tar.xz && \

    # Remove build dependencies.
{'fraction_non_alphanumeric': 0.16682832201745879, 'fraction_numerical': 0.01697381183317168, 'mean_word_length': 2.739800543970988, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 2, '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': '3331350', 'n_tokens_mistral': 1482, 'n_tokens_neox': 1371, 'n_words': 442}