summaryrefslogtreecommitdiff
path: root/share/spack/templates/container/fedora_37.dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'share/spack/templates/container/fedora_37.dockerfile')
-rw-r--r--share/spack/templates/container/fedora_37.dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/spack/templates/container/fedora_37.dockerfile b/share/spack/templates/container/fedora_37.dockerfile
index e1f0570b43..6cea1e0cd3 100644
--- a/share/spack/templates/container/fedora_37.dockerfile
+++ b/share/spack/templates/container/fedora_37.dockerfile
@@ -1,7 +1,7 @@
{% extends "container/bootstrap-base.dockerfile" %}
{% block install_os_packages %}
-RUN yum update -y \
- && yum install -y \
+RUN dnf update -y \
+ && dnf install -y \
bzip2 \
curl \
file \
@@ -24,6 +24,6 @@ RUN yum update -y \
zstd \
xz \
&& pip3 install boto3 \
- && rm -rf /var/cache/yum \
- && yum clean all
+ && rm -rf /var/cache/dnf \
+ && dnf clean all
{% endblock %}