spack/share/spack/templates/container/centos_stream.dockerfile
Jonathon Anderson 9aa3b4619b
containerize: ensure bootstrap images contain all system dependencies (#36818)
This also makes `spack bootstrap status` exit 1 if some dependency is missing
2023-08-09 09:46:59 +02:00

33 lines
837 B
Docker

{% extends "container/bootstrap-base.dockerfile" %}
{% block install_os_packages %}
RUN dnf update -y \
# See https://fedoraproject.org/wiki/EPEL#Quickstart for powertools
&& dnf install -y dnf-plugins-core \
&& dnf config-manager --set-enabled powertools \
&& dnf install -y epel-release \
&& dnf update -y \
&& dnf --enablerepo epel groupinstall -y "Development Tools" \
&& dnf --enablerepo epel install -y \
curl \
findutils \
gcc-c++ \
gcc \
gcc-gfortran \
git \
gnupg2 \
hg \
hostname \
iproute \
make \
svn \
patch \
python3.11 \
python3.11-setuptools \
unzip \
zstd \
&& python3.11 -m ensurepip \
&& pip3.11 install boto3 \
&& rm -rf /var/cache/dnf \
&& dnf clean all
{% endblock %}