add gcc for treesitter, remove old build packages
This commit is contained in:
parent
49f7908c8c
commit
fbaf310da6
1 changed files with 2 additions and 4 deletions
|
@ -22,12 +22,11 @@ ENV NEOVIM_PKGS="\
|
||||||
libicu"
|
libicu"
|
||||||
|
|
||||||
ENV GENERAL_PKGS="\
|
ENV GENERAL_PKGS="\
|
||||||
tar"
|
tar \
|
||||||
|
gcc"
|
||||||
|
|
||||||
ENV PYTHON_DEVEL_PKGS="python3"
|
ENV PYTHON_DEVEL_PKGS="python3"
|
||||||
|
|
||||||
ENV BUILD_ONLY_PKGS="python3-devel"
|
|
||||||
|
|
||||||
ENV MASON_PKGS=" \
|
ENV MASON_PKGS=" \
|
||||||
bash-language-server \
|
bash-language-server \
|
||||||
css-lsp \
|
css-lsp \
|
||||||
|
@ -57,7 +56,6 @@ COPY . /root/.config/nvim
|
||||||
# install system dependencies
|
# install system dependencies
|
||||||
RUN dnf5 install -y \
|
RUN dnf5 install -y \
|
||||||
${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} ${BUILD_ONLY_PKGS} && \
|
${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} ${BUILD_ONLY_PKGS} && \
|
||||||
dnf5 remove -y ${BUILD_ONLY_PKGS} && \
|
|
||||||
dnf5 -y autoremove && \
|
dnf5 -y autoremove && \
|
||||||
dnf5 clean all && \
|
dnf5 clean all && \
|
||||||
nvim --headless +"MasonInstall ${MASON_PKGS}" +qa || exit 1 ; \
|
nvim --headless +"MasonInstall ${MASON_PKGS}" +qa || exit 1 ; \
|
||||||
|
|
Loading…
Reference in a new issue