From 5046d62fccdf3bfce1f8b4eda6e3413c07e2bda5 Mon Sep 17 00:00:00 2001 From: Maciej Lebiest Date: Sun, 19 Nov 2023 16:55:06 +0100 Subject: [PATCH] add multiple launches of neovim to fight back the github throttling --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 07a61f5..c6d035a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,7 +69,12 @@ RUN rm /root/.config/nvim/lazy-lock.json || true # install lsp and linters using mason RUN nvim --headless +TSUpdateSync \ +"MasonInstall ${MASON_PKGS}" \ - +qa ; chown -R root:root /root/.local/share/nvim/mason/packages/sqlls/node_modules/sql-language-server/ + +qa ; \ + nvim --headless +TSUpdateSync \ + +qa; \ + nvim --headless +TSUpdateSync \ + +qa; \ + chown -R root:root /root/.local/share/nvim/mason/packages/sqlls/node_modules/sql-language-server/ RUN echo $'[ -f /usr/share/fzf/key-bindings.bash ] && source /usr/share/fzf/key-bindings.bash \n\ [ -f /usr/share/fzf/shell/key-bindings.bash ] && source /usr/share/fzf/shell/key-bindings.bash \n\