install bash dependency for webinstall
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
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
|
# RUN nvim --headless +'PlugInstall --sync' +qa
|
||||||
RUN nvim --headless -u ~/.config/nvim/coq_init.vim +'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 -u ~/.config/nvim/cmp_init.vim +'PlugInstall --sync' +qa
|
||||||
ENTRYPOINT ["/bin/zsh"]
|
ENTRYPOINT ["/bin/zsh"]
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,14 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
echo "Running installation script\n"
|
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
|
curl -sS https://webinstall.dev/webi | bash
|
||||||
webi bat curlie delta jq rg fd gh
|
webi bat curlie delta jq rg fd gh
|
||||||
{{- if eq .chezmoi.os "linux" }}
|
{{- 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
|
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
|
||||||
{{- if eq .chezmoi.osRelease.id "alpine" }}
|
{{- if eq .chezmoi.osRelease.id "alpine" }}
|
||||||
apk update
|
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")) }}
|
{{- else if (or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "ubuntu")) }}
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install zsh tmux perl -y
|
sudo apt install zsh tmux perl bash -y
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- else if eq .chezmoi.os "darwin" }}
|
{{- else if eq .chezmoi.os "darwin" }}
|
||||||
brew install neovim zsh tmux perl
|
brew install neovim zsh tmux perl
|
||||||
|
|||||||
Reference in New Issue
Block a user