From 4919fa5860040b7f3453205a9e4f6e8e92d80840 Mon Sep 17 00:00:00 2001 From: Maciej Lebiest <68295743+Szwendacz99@users.noreply.github.com> Date: Thu, 5 Oct 2023 12:56:53 +0200 Subject: [PATCH] Add R devel environment and lang server --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 260bf94..7a13510 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,8 @@ ENV PYTHON_DEVEL_PKGS="\ python3\ conda" +ENV R_DEVEL_PKGS="R-core R-core-devel" + ENV MASON_PKGS=" \ bash-language-server \ css-lsp \ @@ -53,8 +55,9 @@ ENV PIP_PKGS="pynvim ansible ansible-lint" COPY . /root/.config/nvim # install system dependencies RUN dnf install -y \ - ${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} \ - && dnf clean all && \ + ${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} ${R_DEVEL_PKGS} && \ + R -e 'install.packages("languageserver", repos = "http://cran.us.r-project.org")' && \ + dnf clean all && \ pip install ${PIP_PKGS} RUN rm /root/.config/nvim/lazy-lock.json || true