Skip to content

Instantly share code, notes, and snippets.

@ademar111190
Last active June 4, 2019 14:20
Show Gist options
  • Save ademar111190/1c1d221ac965e0f23388f786108ab522 to your computer and use it in GitHub Desktop.
Save ademar111190/1c1d221ac965e0f23388f786108ab522 to your computer and use it in GitHub Desktop.
Docker arch
from archlinux/base
RUN pacman -Syu --noconfirm git
RUN pacman -Syu --noconfirm wget
RUN pacman -Syu --noconfirm htop
RUN pacman -Syu --noconfirm sl
RUN pacman -Syu --noconfirm neofetch
RUN pacman -Syu --noconfirm which
RUN pacman -Syu --noconfirm zsh
RUN pacman -Syu --noconfirm zsh-autosuggestions
RUN pacman -Syu --noconfirm tree
RUN pacman -Syu --noconfirm vim
RUN pacman -Syu --noconfirm thefuck
RUN pacman -Syu --noconfirm awk
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
RUN git clone https://github.com/powerline/fonts.git ; cd fonts ; ./install.sh ; cd .. ; rm -rf fonts
RUN echo "export ZSH=/root/.oh-my-zsh" > ~/.zshrc
RUN echo "ZSH_THEME=\"agnoster\"" >> ~/.zshrc
RUN echo "plugins=(" >> ~/.zshrc
RUN echo " git" >> ~/.zshrc
RUN echo " archlinux" >> ~/.zshrc
RUN echo " zsh-autosuggestions" >> ~/.zshrc
RUN echo ")" >> ~/.zshrc
RUN echo "source \$ZSH/oh-my-zsh.sh" >> ~/.zshrc
RUN echo "source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc
RUN echo "alias vi=vim" >> ~/.zshrc
RUN echo "eval \$(thefuck --alias)" >> ~/.zshrc
RUN echo "neofetch" >> ~/.zshrc
CMD [ "/usr/sbin/zsh" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment