migrate to fedora-minimal as base image
This commit is contained in:
parent
a93466a26f
commit
c0b4b805d0
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue