migrate to fedora-minimal as base image
All checks were successful
Build neovim image / build-neovim-amd64 (push) Successful in 41m26s
Build neovim image / build-neovim-arm64 (push) Successful in 54m55s
Build neovim image / update-images-manifest (push) Successful in 24s

This commit is contained in:
Szwendacz 2024-03-04 09:02:08 +01:00 committed by Maciej Lebiest
parent a93466a26f
commit c0b4b805d0

View file

@ -1,4 +1,4 @@
FROM registry.fedoraproject.org/fedora:39 FROM registry.fedoraproject.org/fedora-minimal:39
USER root USER root
@ -54,12 +54,12 @@ 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 dnf5 install -y \
${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} ${BUILD_ONLY_PKGS} && \ ${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} ${BUILD_ONLY_PKGS} && \
pip install ${PIP_PKGS} && \ pip install ${PIP_PKGS} && \
dnf remove -y ${BUILD_ONLY_PKGS} && \ dnf5 remove -y ${BUILD_ONLY_PKGS} && \
dnf -y autoremove && \ dnf5 -y autoremove && \
dnf clean all dnf5 clean all
RUN rm /root/.config/nvim/lazy-lock.json || true RUN rm /root/.config/nvim/lazy-lock.json || true
# install lsp and linters using mason # install lsp and linters using mason