diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2026-02-24 09:17:18 +0100 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2026-02-24 09:17:18 +0100 |
| commit | 2099948605ac8b62fe53ef4ffc227f7a862de8bf (patch) | |
| tree | 1378fefa2ad345554ede6f80d11b086e8e0ba8d7 | |
| parent | feat(image): keep sources for qbe, harec and hare (diff) | |
| download | nvim-2099948605ac8b62fe53ef4ffc227f7a862de8bf.tar.gz | |
refactor(image): only copy necessary dirs and files to .config/nvim
| -rw-r--r-- | Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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"] |
