change base image to mc-fedora-base
Some checks failed
Build neovim image / build-neovim-amd64 (push) Failing after 39s
Build neovim image / build-neovim-arm64 (push) Failing after 41s
Build neovim image / update-images-manifest (push) Has been skipped

This commit is contained in:
Maciej Lebiest 2024-05-03 12:35:19 +02:00
parent e3bb2f8bf9
commit 9d4f22b62f

View file

@ -1,8 +1,4 @@
FROM registry.fedoraproject.org/fedora-minimal FROM forgejo.maciej.cloud/pkg/mc-fedora-base
USER root
# required by ansible-config
ENV LANG="C.UTF-8"
# libicu - for marksman linter # libicu - for marksman linter
ENV NEOVIM_PKGS="\ ENV NEOVIM_PKGS="\
@ -22,9 +18,6 @@ ENV NEOVIM_PKGS="\
libicu" libicu"
ENV GENERAL_PKGS="\ ENV GENERAL_PKGS="\
bash-completion \
procps \
fzf \
tar" tar"
ENV PYTHON_DEVEL_PKGS="python3" ENV PYTHON_DEVEL_PKGS="python3"
@ -65,7 +58,6 @@ RUN dnf5 install -y \
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 ; \
nvim --headless +"MasonInstall ${MASON_PKGS_NO_ARM}" +qa ; \ nvim --headless +"MasonInstall ${MASON_PKGS_NO_ARM}" +qa ;
echo '[ -f /usr/share/fzf/shell/key-bindings.bash ] && source /usr/share/fzf/shell/key-bindings.bash' >> /root/.bashrc
ENTRYPOINT [ "/usr/bin/nvim" ] ENTRYPOINT [ "/usr/bin/nvim" ]