File tree Expand file tree Collapse file tree 4 files changed +58
-5
lines changed
Expand file tree Collapse file tree 4 files changed +58
-5
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,9 @@ are currently supported are summarized in the table below:
129129 * - CentOS 7
130130 - ``centos:7 ``
131131 - ``spack/centos7 ``
132+ * - openSUSE Leap
133+ - ``opensuse/leap ``
134+ - ``spack/leap15 ``
132135
133136All the images are tagged with the corresponding release of Spack:
134137
Original file line number Diff line number Diff line change 2828 "develop" : " latest"
2929 }
3030 },
31+ "opensuse/leap:15" : {
32+ "bootstrap" : {
33+ "template" : " container/leap-15.dockerfile"
34+ },
35+ "os_package_manager" : " zypper" ,
36+ "build" : " spack/leap15" ,
37+ "build_tags" : {
38+ "develop" : " latest"
39+ },
40+ "final" : {
41+ "image" : " opensuse/leap:latest"
42+ }
43+ },
3144 "nvidia/cuda:11.2.1" : {
3245 "bootstrap" : {
3346 "template" : " container/cuda_11_2_1.dockerfile" ,
8598 "update" : " yum update -y && amazon-linux-extras install epel -y" ,
8699 "install" : " yum install -y" ,
87100 "clean" : " rm -rf /var/cache/yum && yum clean all"
101+ },
102+ "zypper" : {
103+ "update" : " zypper update -y" ,
104+ "install" : " zypper install -y" ,
105+ "clean" : " rm -rf /var/cache/zypp && zypper clean -a"
88106 }
89107 }
90108}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM opensuse/leap:15.3
22MAINTAINER Christian Goll <cgoll@suse.com>
33
44ENV DOCKERFILE_BASE=opensuse \
5- DOCKERFILE_DISTRO=opensuse_leap \
5+ DOCKERFILE_DISTRO=leap \
66 DOCKERFILE_DISTRO_VERSION=15.3 \
77 SPACK_ROOT=/opt/spack \
88 DEBIAN_FRONTEND=noninteractive \
@@ -11,10 +11,21 @@ ENV DOCKERFILE_BASE=opensuse \
1111
1212RUN zypper ref && \
1313 zypper up -y && \
14- zypper in -y python3-base python3-boto3 \
15- xz gzip tar bzip2 curl patch patchelf file \
16- gcc-c++ gcc-fortran make cmake automake && \
17- zypper clean
14+ zypper in -y \
15+ bzip2\
16+ curl\
17+ file\
18+ gcc-c++\
19+ gcc-fortran\
20+ make\
21+ gzip\
22+ patch\
23+ patchelf\
24+ python3-base \
25+ python3-boto3\
26+ tar\
27+ xz\
28+ && zypper clean
1829
1930# clean up manpages
2031RUN rm -rf /var/cache/zypp/* \
Original file line number Diff line number Diff line change 1+ {% extends "container/bootstrap-base.dockerfile" %}
2+ {% block install_os_packages %}
3+ RUN zypper ref && \
4+ zypper up -y && \
5+ zypper in -y \
6+ bzip2\
7+ curl\
8+ file\
9+ gcc-c++\
10+ gcc-fortran\
11+ make\
12+ git\
13+ gzip\
14+ patch\
15+ patchelf\
16+ python3-base \
17+ python3-boto3\
18+ tar\
19+ xz\
20+ && zypper clean
21+ {% endblock %}
You can’t perform that action at this time.
0 commit comments