Add R devel environment and lang server
This commit is contained in:
parent
3958be32e3
commit
4919fa5860
1 changed files with 5 additions and 2 deletions
|
@ -25,6 +25,8 @@ ENV PYTHON_DEVEL_PKGS="\
|
||||||
python3\
|
python3\
|
||||||
conda"
|
conda"
|
||||||
|
|
||||||
|
ENV R_DEVEL_PKGS="R-core R-core-devel"
|
||||||
|
|
||||||
ENV MASON_PKGS=" \
|
ENV MASON_PKGS=" \
|
||||||
bash-language-server \
|
bash-language-server \
|
||||||
css-lsp \
|
css-lsp \
|
||||||
|
@ -53,8 +55,9 @@ ENV PIP_PKGS="pynvim ansible ansible-lint"
|
||||||
COPY . /root/.config/nvim
|
COPY . /root/.config/nvim
|
||||||
# install system dependencies
|
# install system dependencies
|
||||||
RUN dnf install -y \
|
RUN dnf install -y \
|
||||||
${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} \
|
${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} ${R_DEVEL_PKGS} && \
|
||||||
&& dnf clean all && \
|
R -e 'install.packages("languageserver", repos = "http://cran.us.r-project.org")' && \
|
||||||
|
dnf clean all && \
|
||||||
pip install ${PIP_PKGS}
|
pip install ${PIP_PKGS}
|
||||||
|
|
||||||
RUN rm /root/.config/nvim/lazy-lock.json || true
|
RUN rm /root/.config/nvim/lazy-lock.json || true
|
||||||
|
|
Loading…
Reference in a new issue