add automatic plug install and perl to install script
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk update && apk add git curl
|
RUN apk update && apk add git curl
|
||||||
RUN sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply candrewlee14
|
RUN sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply candrewlee14
|
||||||
|
RUN nvim --headless +'PlugInstall --sync' +qa
|
||||||
ENTRYPOINT ["/bin/zsh"]
|
ENTRYPOINT ["/bin/zsh"]
|
||||||
|
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ echo "Running installation script\n"
|
|||||||
{{- if eq .chezmoi.os "linux" }}
|
{{- if eq .chezmoi.os "linux" }}
|
||||||
{{- if eq .chezmoi.osRelease.id "alpine" }}
|
{{- if eq .chezmoi.osRelease.id "alpine" }}
|
||||||
apk update
|
apk update
|
||||||
apk add zsh neovim tmux bat
|
apk add zsh neovim tmux bat perl
|
||||||
{{- else if eq .chezmoi.osRelease.id "debian" }}
|
{{- else if eq .chezmoi.osRelease.id "debian" }}
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install zsh neovim tmux -y
|
sudo apt install zsh neovim tmux perl -y
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- else if eq .chezmoi.os "darwin" }}
|
{{- else if eq .chezmoi.os "darwin" }}
|
||||||
brew install zsh neovim tmux
|
brew install zsh neovim tmux perl
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user