diff --git a/Dockerfile b/Dockerfile index 0d57393..1113f3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ 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 -RUN nvim --headless -u ~/.config/nvim/coq_init.vim +'PlugInstall --sync' +qa -RUN nvim --headless -u ~/.config/nvim/cmp_init.vim +'PlugInstall --sync' +qa +# RUN nvim --headless +'PlugInstall --sync' +qa +# RUN nvim --headless -u ~/.config/nvim/coq_init.vim +'PlugInstall --sync' +qa +# RUN nvim --headless -u ~/.config/nvim/cmp_init.vim +'PlugInstall --sync' +qa ENTRYPOINT ["/bin/zsh"] diff --git a/run_once_install.sh.tmpl b/run_once_install.sh.tmpl index 6cfc131..a88f7f1 100644 --- a/run_once_install.sh.tmpl +++ b/run_once_install.sh.tmpl @@ -1,5 +1,14 @@ #!/usr/bin/env sh echo "Running installation script\n" +echo "Installing bash\n" +{{- if eq .chezmoi.osRelease.id "alpine" }} +apk update +apk add bash +{{- else if (or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "ubuntu")) }} +sudo apt update +sudo apt bash -y +{{- end }} +echo "Running installations\n" curl -sS https://webinstall.dev/webi | bash webi bat curlie delta jq rg fd gh {{- if eq .chezmoi.os "linux" }} @@ -7,10 +16,10 @@ webi fish curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish {{- if eq .chezmoi.osRelease.id "alpine" }} apk update -apk add zsh tmux perl +apk add zsh tmux perl bash {{- else if (or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "ubuntu")) }} sudo apt update -sudo apt install zsh tmux perl -y +sudo apt install zsh tmux perl bash -y {{- end }} {{- else if eq .chezmoi.os "darwin" }} brew install neovim zsh tmux perl