Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions spack-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

#!UseOBSRepositories
#!ExclusiveArch: aarch64 x86_64
#!BuildTag: bci/spack:0.23.0-%RELEASE%
#!BuildTag: bci/spack:0.23.0
#!BuildTag: bci/spack:%%spack_version%%-%RELEASE%
#!BuildTag: bci/spack:%%spack_version%%
#!BuildTag: bci/spack:0.23
#!BuildName: bci-spack
#!BuildVersion: 15.7.0.23
Expand All @@ -32,13 +32,13 @@ RUN set -euo pipefail; \
LABEL org.opencontainers.image.authors="https://github.com/SUSE/bci/discussions"
LABEL org.opencontainers.image.title="SLE BCI Spack development"
LABEL org.opencontainers.image.description="Spack development container for building containerized HPC solution stacks, based on the SLE Base Container Image."
LABEL org.opencontainers.image.version="0.23.0"
LABEL org.opencontainers.image.version="%%spack_version%%"
LABEL org.opencontainers.image.url="https://www.suse.com/products/base-container-images/"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="SUSE LLC"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL org.opencontainers.image.ref.name="0.23.0-%RELEASE%"
LABEL org.opensuse.reference="registry.suse.com/bci/spack:0.23.0-%RELEASE%"
LABEL org.opencontainers.image.ref.name="%%spack_version%%-%RELEASE%"
LABEL org.opensuse.reference="registry.suse.com/bci/spack:%%spack_version%%-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.supportlevel="techpreview"
LABEL com.suse.supportlevel.until="2031-07-31"
Expand Down Expand Up @@ -71,7 +71,7 @@ RUN set -euo pipefail; mkdir -p /root/.spack \
# sanity check that the version from the tag is equal to the version of spack that we expect
RUN set -euo pipefail; \
[ "$(rpm -q --qf '%{version}' spack | \
cut -d '.' -f -3)" = "0.23.0" ]
cut -d '.' -f -2)" = "0.23" ]

WORKDIR /root
SHELL ["docker-shell"]
2 changes: 1 addition & 1 deletion spack-image/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Spack 0.23.0 container image
# Spack 0.23 container image
![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green)![Support Level](https://img.shields.io/badge/Support_Level-techpreview-blue)[![SLSA](https://img.shields.io/badge/SLSA_(v1.0)-Build_L3-Green)](https://documentation.suse.com/sbp/server-linux/html/SBP-SLSA4/)
[![Provenance: Available](https://img.shields.io/badge/Provenance-Available-Green)](https://documentation.suse.com/container/all/html/Container-guide/index.html#container-verify)

Expand Down
6 changes: 6 additions & 0 deletions spack-image/_service
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<services>
<service mode="buildtime" name="docker_label_helper"/>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service mode="buildtime" name="replace_using_package_version">
<param name="file">Dockerfile</param>
<param name="regex">%%spack_version%%</param>
<param name="package">spack</param>
<param name="parse-version">patch</param>
</service>
</services>
5 changes: 5 additions & 0 deletions spack-image/spack-image.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 28 19:15:49 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>

- extract full version via service

-------------------------------------------------------------------
Mon Feb 24 09:47:10 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>

Expand Down