diff options
Diffstat (limited to 'share/spack/templates/container/centos_8.dockerfile')
-rw-r--r-- | share/spack/templates/container/centos_8.dockerfile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/share/spack/templates/container/centos_8.dockerfile b/share/spack/templates/container/centos_8.dockerfile new file mode 100644 index 0000000000..48deb14673 --- /dev/null +++ b/share/spack/templates/container/centos_8.dockerfile @@ -0,0 +1,29 @@ +{% extends "container/bootstrap-base.dockerfile" %} +{% block install_os_packages %} +RUN yum update -y \ + # See https://fedoraproject.org/wiki/EPEL#Quickstart for powertools + && yum install -y dnf-plugins-core \ + && dnf config-manager --set-enabled powertools \ + && yum install -y epel-release \ + && yum update -y \ + && yum --enablerepo epel groupinstall -y "Development Tools" \ + && yum --enablerepo epel install -y \ + curl \ + findutils \ + gcc-c++ \ + gcc \ + gcc-gfortran \ + git \ + gnupg2 \ + hostname \ + iproute \ + make \ + patch \ + python38 \ + python38-pip \ + python38-setuptools \ + unzip \ + && pip3 install boto3 \ + && rm -rf /var/cache/yum \ + && yum clean all +{% endblock %} |