diff options
author | Christian Goll <cgoll@suse.de> | 2021-12-16 10:47:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-16 09:47:15 +0000 |
commit | bd0ffa8a3c969c219989e44d41bbd99df476282c (patch) | |
tree | 7fa92ad2ac30dc790933a91c52043a7dc59aa3cc /lib | |
parent | ac49ce8b3ba0e1ef64d8a9a63cef0e2dad60b0de (diff) | |
download | spack-bd0ffa8a3c969c219989e44d41bbd99df476282c.tar.gz spack-bd0ffa8a3c969c219989e44d41bbd99df476282c.tar.bz2 spack-bd0ffa8a3c969c219989e44d41bbd99df476282c.tar.xz spack-bd0ffa8a3c969c219989e44d41bbd99df476282c.zip |
Added opensuse/leap:15 to spack containerize (#27837)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/docs/containers.rst | 3 | ||||
-rw-r--r-- | lib/spack/spack/container/images.json | 18 |
2 files changed, 21 insertions, 0 deletions
diff --git a/lib/spack/docs/containers.rst b/lib/spack/docs/containers.rst index 3d32de0841..57a9cad189 100644 --- a/lib/spack/docs/containers.rst +++ b/lib/spack/docs/containers.rst @@ -129,6 +129,9 @@ are currently supported are summarized in the table below: * - CentOS 7 - ``centos:7`` - ``spack/centos7`` + * - openSUSE Leap + - ``opensuse/leap`` + - ``spack/leap15`` All the images are tagged with the corresponding release of Spack: diff --git a/lib/spack/spack/container/images.json b/lib/spack/spack/container/images.json index ee4e5a2caa..b82596f20c 100644 --- a/lib/spack/spack/container/images.json +++ b/lib/spack/spack/container/images.json @@ -28,6 +28,19 @@ "develop": "latest" } }, + "opensuse/leap:15": { + "bootstrap": { + "template": "container/leap-15.dockerfile" + }, + "os_package_manager": "zypper", + "build": "spack/leap15", + "build_tags": { + "develop": "latest" + }, + "final": { + "image": "opensuse/leap:latest" + } + }, "nvidia/cuda:11.2.1": { "bootstrap": { "template": "container/cuda_11_2_1.dockerfile", @@ -85,6 +98,11 @@ "update": "yum update -y && amazon-linux-extras install epel -y", "install": "yum install -y", "clean": "rm -rf /var/cache/yum && yum clean all" + }, + "zypper": { + "update": "zypper update -y", + "install": "zypper install -y", + "clean": "rm -rf /var/cache/zypp && zypper clean -a" } } } |