remove lazy-lock.json from image build

This commit is contained in:
Maciej Lebiest 2023-03-02 20:15:26 +01:00
parent b71970caf1
commit 194ee30b11

View file

@ -46,13 +46,13 @@ ENV MASON_PKGS=" \
markdownlint"
COPY . /root/.config/nvim
# install system dependencies
RUN dnf install -y \
${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} \
&& dnf clean all
RUN pip install pynvim
RUN rm /root/.config/nvim/lazy-lock.json || true
# install lsp and linters using mason
RUN nvim --headless +TSUpdateSync \
+"MasonInstall ${MASON_PKGS}" \