aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2026-02-24 09:17:18 +0100
committerPolesznyák Márk <contact@pml68.dev>2026-02-24 09:17:18 +0100
commit2099948605ac8b62fe53ef4ffc227f7a862de8bf (patch)
tree1378fefa2ad345554ede6f80d11b086e8e0ba8d7
parentfeat(image): keep sources for qbe, harec and hare (diff)
downloadnvim-2099948605ac8b62fe53ef4ffc227f7a862de8bf.tar.gz
refactor(image): only copy necessary dirs and files to .config/nvim
-rw-r--r--Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 983f57c..bfc8129 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -67,7 +67,7 @@ RUN rustup-init -y --default-toolchain none && \
# copy config files
COPY .bashrc .bashrc
-COPY . .config/nvim
+COPY --parents after ftplugin lsp lua spell init.lua .config/nvim/
FROM base
SHELL ["/bin/bash", "-c"]
@@ -76,7 +76,6 @@ RUN nvim --headless +"Lazy! sync" +qa; rm -rf /root/.cache
# symlink the clangd executable, since it can't be installed with mason
# also symlink rust-analyzer
-RUN ln -sf /usr/bin/clangd /root/.local/share/nvim/mason/bin/clangd && \
- ln -sf /root/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/bin/rust-analyzer /root/.local/share/nvim/mason/bin/rust-analyzer
+RUN ln -sf /usr/bin/clangd /root/.local/share/nvim/mason/bin/clangd
ENTRYPOINT ["/bin/bash"]