1515
1616# !UseOBSRepositories
1717# !ExclusiveArch: aarch64 x86_64
18- # !BuildTag: bci/spack:0.23.0 -%RELEASE%
19- # !BuildTag: bci/spack:0.23.0
18+ # !BuildTag: bci/spack:%%spack_version%% -%RELEASE%
19+ # !BuildTag: bci/spack:%%spack_version%%
2020# !BuildTag: bci/spack:0.23
2121# !BuildName: bci-spack
2222# !BuildVersion: 15.7.0.23
@@ -32,13 +32,13 @@ RUN set -euo pipefail; \
3232LABEL org.opencontainers.image.authors="https://github.com/SUSE/bci/discussions"
3333LABEL org.opencontainers.image.title="SLE BCI Spack development"
3434LABEL org.opencontainers.image.description="Spack development container for building containerized HPC solution stacks, based on the SLE Base Container Image."
35- LABEL org.opencontainers.image.version="0.23.0 "
35+ LABEL org.opencontainers.image.version="%%spack_version%% "
3636LABEL org.opencontainers.image.url="https://www.suse.com/products/base-container-images/"
3737LABEL org.opencontainers.image.created="%BUILDTIME%"
3838LABEL org.opencontainers.image.vendor="SUSE LLC"
3939LABEL org.opencontainers.image.source="%SOURCEURL%"
40- LABEL org.opencontainers.image.ref.name="0.23.0 -%RELEASE%"
41- LABEL org.opensuse.reference="registry.suse.com/bci/spack:0.23.0 -%RELEASE%"
40+ LABEL org.opencontainers.image.ref.name="%%spack_version%% -%RELEASE%"
41+ LABEL org.opensuse.reference="registry.suse.com/bci/spack:%%spack_version%% -%RELEASE%"
4242LABEL org.openbuildservice.disturl="%DISTURL%"
4343LABEL com.suse.supportlevel="techpreview"
4444LABEL com.suse.supportlevel.until="2031-07-31"
@@ -71,7 +71,7 @@ RUN set -euo pipefail; mkdir -p /root/.spack \
7171# sanity check that the version from the tag is equal to the version of spack that we expect
7272RUN set -euo pipefail; \
7373 [ "$(rpm -q --qf '%{version}' spack | \
74- cut -d '.' -f -3 )" = "0.23.0 " ]
74+ cut -d '.' -f -2 )" = "0.23" ]
7575
7676WORKDIR /root
7777SHELL ["docker-shell" ]
0 commit comments