Skip to content

Instantly share code, notes, and snippets.

@coffebar
Created September 8, 2023 14:52
Show Gist options
  • Save coffebar/9438e706398b079524ee4e23f165e849 to your computer and use it in GitHub Desktop.
Save coffebar/9438e706398b079524ee4e23f165e849 to your computer and use it in GitHub Desktop.
Docker test for my fetch-nvim-conf.sh from dotfiles
docker run -it --rm archlinux \
sh -c 'useradd -m neovim && usermod -aG wheel neovim;
pacman -Suy --noconfirm base-devel git wget;
echo "neovim ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers;
sudo -u neovim sh -c "cd /tmp/ && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg --noconfirm -si && /usr/bin/yay -Y --gendb; /usr/bin/yay -y;"
sudo -u neovim sh -c "cd /tmp/ && $(wget -O- https://raw.githubusercontent.com/coffebar/dotfiles/master/fetch-nvim-conf.sh)"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment