add automatic plug install and perl to install script

This commit is contained in:
2021-11-17 17:21:14 -07:00
parent 42e58db4be
commit b5c62fabe5
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
FROM alpine:latest
RUN apk update && apk add git curl
RUN sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply candrewlee14
RUN nvim --headless +'PlugInstall --sync' +qa
ENTRYPOINT ["/bin/zsh"]

View File

@@ -3,11 +3,11 @@ echo "Running installation script\n"
{{- if eq .chezmoi.os "linux" }}
{{- if eq .chezmoi.osRelease.id "alpine" }}
apk update
apk add zsh neovim tmux bat
apk add zsh neovim tmux bat perl
{{- else if eq .chezmoi.osRelease.id "debian" }}
sudo apt update
sudo apt install zsh neovim tmux -y
sudo apt install zsh neovim tmux perl -y
{{- end }}
{{- else if eq .chezmoi.os "darwin" }}
brew install zsh neovim tmux
brew install zsh neovim tmux perl
{{- end }}