diff --git a/Dockerfile b/Dockerfile index ab6a0f4..3962df1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/run_once_install.sh.tmpl b/run_once_install.sh.tmpl index cf3db63..251bed6 100644 --- a/run_once_install.sh.tmpl +++ b/run_once_install.sh.tmpl @@ -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 }}