From 3449e1f0d720f99fccfcb53639cbc5e46bddc467 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 24 Mar 2024 13:46:20 +0100 Subject: [PATCH] ci: fix hadolint errors --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab30743e..61b8e320 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,17 @@ ARG ARCH ARG BASE_IMAGE +# hadolint ignore=DL3007 FROM ${ARCH}allaman/nvim-full:latest -RUN mkdir -p .config/nvim \ - && mkdir -p .local/share/nvim/mason/packages \ +RUN mkdir -p ~/config/nvim \ + && mkdir -p ~/.local/share/nvim/mason/packages \ ## Create empty user config file - && echo "return {}" > .nvim_config.lua \ + && echo "return {}" > ~/.nvim_config.lua \ ## Add mason tools dir to path && echo "PATH=$PATH:~/.local/share/nvim/mason/bin" >> ~/.bashrc -COPY --chown=nvim:nvim . .config/nvim +WORKDIR /home/nvim/.config/nvim +COPY --chown=nvim:nvim . . # Install plugins and tools with Mason and go.nvim # HACK: Use of sleep is not cool but commands are not blocking (! is not working either) RUN nvim --headless "+Lazy! sync" +qa