This commit is contained in:
sgraves committed 2026-08-29 19:51:05 -05:00
1 parent b66e8e6ebf
commit 465a7ae329
4 files changed
+38 -5

No files matched your search

+18 -4
View File
@@ -26,6 +26,7 @@ ARG NVIM_ARCH
ARG NVIM_ARCH2
ARG NVIM_OS
ARG NV_DARCULA_ENABLE_COC
ARG TREE_SITTER_VERSION=0.26.13
ENV \
GID="1000" \
@@ -132,8 +133,15 @@ RUN \
npm i -g js-beautify && \
npm i -g lua-fmt && \
npm i -g neovim && \
npm i -g npm && \
npm i -g tree-sitter-cli
npm i -g npm
RUN \
curl -fsSL \
"https://github.com/tree-sitter/tree-sitter/releases/download/v${TREE_SITTER_VERSION}/tree-sitter-linux-${NVIM_ARCH2}.gz" \
-o /tmp/tree-sitter.gz && \
gzip -d /tmp/tree-sitter.gz && \
install -m 0755 /tmp/tree-sitter /usr/local/bin/tree-sitter && \
tree-sitter --version
RUN \
python3 -m venv /python && \
@@ -166,7 +174,10 @@ RUN \
npx webpack --mode production
RUN \
nvim --headless "+qall"
nvim --headless -i NONE \
--cmd "let v:errmsg = ''" \
"+lua if vim.g.colors_name ~= NV_DARCULA_COLOR_SCHEME then vim.v.errmsg = 'failed to load colorscheme: ' .. tostring(NV_DARCULA_COLOR_SCHEME) end" \
"+lua if vim.v.errmsg ~= '' then vim.api.nvim_err_writeln(vim.v.errmsg); vim.cmd('cquit') else vim.cmd('qall') end"
RUN \
if [ "$NV_DARCULA_ENABLE_COC" = "true" ]; then \
@@ -245,7 +256,10 @@ RUN \
flutter pub global activate dart_style
RUN \
nvim --headless "+MasonToolsInstallSync" "+qall"
nvim --headless -i NONE \
--cmd "let v:errmsg = ''" \
"+MasonToolsInstallSync" \
"+lua if vim.v.errmsg ~= '' then vim.api.nvim_err_writeln(vim.v.errmsg); vim.cmd('cquit') else vim.cmd('qall') end"
ENTRYPOINT ["/entrypoint.sh"]