fix: use sudo when needed
All checks were successful
/ deploy_site (push) Successful in 3s

This commit is contained in:
2025-01-21 03:48:30 +00:00
parent 420219e76f
commit 8aa00b9d18

View File

@ -17,12 +17,12 @@ wsl sh -c "cd ~/yay && makepkg -si --noconfirm"
wsl sh -c 'yay -S fakeroot'
wsl sh -c 'yay -Syu curl wget vim terraform eksctl kubectl helm jq aws-cli-v2 qemu-full docker docker-buildx oh-my-zsh-git zsh-autosuggestions-git zsh-syntax-highlighting-git'
wsl sh -c 'cat /usr/share/oh-my-zsh/zshrc > ~/.zshrc'
wsl sh -c 'echo "source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc'
wsl sh -c 'echo "source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc'
wsl sh -c 'echo source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh >> ~/.zshrc'
wsl sh -c 'echo source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh >> ~/.zshrc'
wsl sh -c 'curl https://raw.githubusercontent.com/pmh-only/cocktail-bar/refs/heads/main/_qkstart/scripts/install/alias.sh | sh'
wsl systemctl enable --now docker
wsl usermod -aG docker pmh
wsl sudo systemctl enable --now docker
wsl sudo usermod -aG docker pmh
wsl docker run --privileged --rm tonistiigi/binfmt --install all
code --install-extension abierbaum.vscode-file-peek