Created
September 8, 2023 14:52
-
-
Save coffebar/9438e706398b079524ee4e23f165e849 to your computer and use it in GitHub Desktop.
Docker test for my fetch-nvim-conf.sh from dotfiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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