cmake(ci): stop using deprecated "dnf groupinstall" cmd

note: has been removed in dnf5
This commit is contained in:
Corentin Le Molgat
2024-11-08 15:49:42 +01:00
parent e1a4e3447c
commit 9535a804c8
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ FROM almalinux:latest AS base
ENV PATH=/usr/local/bin:$PATH
RUN dnf -y update \
&& dnf -y install git wget openssl-devel cmake \
&& dnf -y groupinstall "Development Tools" \
&& dnf -y group install "Development Tools" \
&& dnf clean all \
&& rm -rf /var/cache/dnf
CMD [ "/usr/bin/bash" ]

View File

@@ -6,7 +6,7 @@ FROM rockylinux:9 AS base
ENV PATH=/usr/local/bin:$PATH
RUN dnf -y update \
&& dnf -y install git wget openssl-devel cmake \
&& dnf -y groupinstall "Development Tools" \
&& dnf -y group install "Development Tools" \
&& dnf clean all \
&& rm -rf /var/cache/dnf
CMD [ "/usr/bin/bash" ]