dockerfile 945 Bytes
FROM base/archlinux


RUN pacman --noconfirm -Syu
RUN pacman --noconfirm -S git sudo base-devel vim
RUN chmod 640 /etc/sudoers && echo '%wheel ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers && chmod 440 /etc/sudoers && useradd -m -p123123 -G wheel yaourt
RUN sudo -u yaourt rm -rf /tmp/package-query && \
    sudo -u yaourt rm -rf /tmp/yaourt && \
    cd /tmp && \
    sudo -u yaourt git clone https://aur.archlinux.org/package-query.git && \
    cd /tmp/package-query && \
    yes | sudo -u yaourt makepkg -si && \
    cd .. && \
    sudo -u yaourt git clone https://aur.archlinux.org/yaourt.git && \
    cd /tmp/yaourt && \
    yes | sudo -u yaourt makepkg -si && \
    cd .. && \
    echo 'EXPORT=2' >> /etc/yaourtrc && \
    sudo -u yaourt yaourt --version

RUN sudo -u yaourt yaourt -Sy --noconfirm butterflow;
RUN sudo -u yaourt gpg --recv-keys 702353E0F7E48EDB && \
    sudo -u yaourt yaourt -S --noconfirm intel-opencl-runtime;

CMD /bin/bash