From c0b4b805d0970e40417aa727f6399f0eb608d0a6 Mon Sep 17 00:00:00 2001 From: Szwendacz Date: Mon, 4 Mar 2024 09:02:08 +0100 Subject: [PATCH] migrate to fedora-minimal as base image --- Containerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Containerfile b/Containerfile index ee7aa09..d2d0de7 100644 --- a/Containerfile +++ b/Containerfile @@ -1,4 +1,4 @@ -FROM registry.fedoraproject.org/fedora:39 +FROM registry.fedoraproject.org/fedora-minimal:39 USER root @@ -54,12 +54,12 @@ ENV PIP_PKGS="pynvim ansible ansible-lint" COPY . /root/.config/nvim # install system dependencies -RUN dnf install -y \ +RUN dnf5 install -y \ ${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} ${BUILD_ONLY_PKGS} && \ pip install ${PIP_PKGS} && \ - dnf remove -y ${BUILD_ONLY_PKGS} && \ - dnf -y autoremove && \ - dnf clean all + dnf5 remove -y ${BUILD_ONLY_PKGS} && \ + dnf5 -y autoremove && \ + dnf5 clean all RUN rm /root/.config/nvim/lazy-lock.json || true # install lsp and linters using mason