Fix Dockerfile build error - use dnf instead of yum for groupinstall
Changed 'yum groupinstall' to 'dnf group install -y' to match AlmaLinux 9 package manager and ensure non-interactive installation. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,7 @@ RUN dnf install -y \
|
|||||||
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||||
dnf update -y && \
|
dnf update -y && \
|
||||||
dnf install -y wget procps cronie iproute nginx openssl git microdnf make gcc gcc-c++ && \
|
dnf install -y wget procps cronie iproute nginx openssl git microdnf make gcc gcc-c++ && \
|
||||||
yum groupinstall 'Development Tools' && \
|
dnf group install -y 'Development Tools' && \
|
||||||
dnf clean all && \
|
dnf clean all && \
|
||||||
rm -rf /var/cache/dnf /usr/share/doc /usr/share/man /usr/share/locale/* \
|
rm -rf /var/cache/dnf /usr/share/doc /usr/share/man /usr/share/locale/* \
|
||||||
/var/cache/yum /tmp/* /var/tmp/*
|
/var/cache/yum /tmp/* /var/tmp/*
|
||||||
|
Reference in New Issue
Block a user