add gcc for treesitter, remove old build packages
All checks were successful
Build neovim image / build-neovim-amd64 (push) Successful in 8m46s
Build neovim image / build-neovim-arm64 (push) Successful in 12m15s
Build neovim image / update-images-manifest (push) Successful in 14s

This commit is contained in:
Maciej Lebiest 2024-05-26 21:46:40 +02:00
parent 49f7908c8c
commit fbaf310da6

View file

@ -22,12 +22,11 @@ ENV NEOVIM_PKGS="\
libicu"
ENV GENERAL_PKGS="\
tar"
tar \
gcc"
ENV PYTHON_DEVEL_PKGS="python3"
ENV BUILD_ONLY_PKGS="python3-devel"
ENV MASON_PKGS=" \
bash-language-server \
css-lsp \
@ -57,7 +56,6 @@ COPY . /root/.config/nvim
# install system dependencies
RUN dnf5 install -y \
${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} ${BUILD_ONLY_PKGS} && \
dnf5 remove -y ${BUILD_ONLY_PKGS} && \
dnf5 -y autoremove && \
dnf5 clean all && \
nvim --headless +"MasonInstall ${MASON_PKGS}" +qa || exit 1 ; \