Skip to content

Commit c82aa5a

Browse files
authored
Merge pull request #2130 from SUSE/for-deploy-6
πŸ€–: Update build recipes for SP6
2 parents 7afaf6e + ef116ac commit c82aa5a

File tree

5 files changed

+74
-102
lines changed

5 files changed

+74
-102
lines changed

β€Žhelm-image/Dockerfileβ€Ž

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
3+
# Copyright (c) 2024 SUSE LLC
4+
5+
# All modifications and additions to the file contributed by third parties
6+
# remain the property of their copyright owners, unless otherwise agreed
7+
# upon.
8+
9+
# The content of THIS FILE IS AUTOGENERATED and should not be manually modified.
10+
# It is maintained by the BCI team and generated by
11+
# https://github.com/SUSE/BCI-dockerfile-generator
12+
13+
# Please submit bugfixes or comments via https://bugs.opensuse.org/
14+
# You can contact the BCI team via https://github.com/SUSE/bci/discussions
15+
16+
#!UseOBSRepositories
17+
18+
#!BuildTag: suse/helm:%%helm_version%%-%RELEASE%
19+
#!BuildTag: suse/helm:%%helm_version%%
20+
#!BuildTag: suse/helm:3.16
21+
#!BuildTag: suse/helm:3
22+
#!BuildTag: suse/helm:latest
23+
#!BuildName: suse-helm-3.16
24+
#!BuildVersion: 15.6.3.16
25+
#!BuildRelease: 35
26+
FROM registry.suse.com/bci/bci-micro:15.6 AS target
27+
FROM suse/sle15:15.6 AS builder
28+
COPY --from=target / /target
29+
30+
RUN set -euo pipefail; \
31+
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends ca-certificates-mozilla helm; \
32+
zypper -n clean; \
33+
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}
34+
# sanity check that the version from the tag is equal to the version of helm that we expect
35+
RUN set -euo pipefail; \
36+
[ "$(rpm --root /target -q --qf '%{version}' helm | \
37+
cut -d '.' -f -2)" = "3.16" ]
38+
FROM registry.suse.com/bci/bci-micro:15.6
39+
COPY --from=builder /target /
40+
# Define labels according to https://en.opensuse.org/Building_derived_containers
41+
# labelprefix=com.suse.application.helm
42+
LABEL org.opencontainers.image.authors="https://github.com/SUSE/bci/discussions"
43+
LABEL org.opencontainers.image.title="SLE Kubernetes Package Manager"
44+
LABEL org.opencontainers.image.description="Kubernetes Package Manager container based on the SLE Base Container Image."
45+
LABEL org.opencontainers.image.version="%%helm_version%%"
46+
LABEL org.opencontainers.image.url="https://www.suse.com/products/base-container-images/"
47+
LABEL org.opencontainers.image.created="%BUILDTIME%"
48+
LABEL org.opencontainers.image.vendor="SUSE LLC"
49+
LABEL org.opencontainers.image.source="%SOURCEURL%"
50+
LABEL org.opencontainers.image.ref.name="%%helm_version%%-%RELEASE%"
51+
LABEL org.opensuse.reference="registry.suse.com/suse/helm:%%helm_version%%-%RELEASE%"
52+
LABEL org.openbuildservice.disturl="%DISTURL%"
53+
LABEL com.suse.supportlevel="l3"
54+
LABEL com.suse.eula="sle-eula"
55+
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle#suse-linux-enterprise-server-15"
56+
LABEL com.suse.release-stage="released"
57+
# endlabelprefix
58+
LABEL org.opencontainers.image.base.name="%BASE_REFNAME%"
59+
LABEL org.opencontainers.image.base.digest="%BASE_DIGEST%"
60+
LABEL io.artifacthub.package.readme-url="%SOURCEURL%/README.md"
61+
ENTRYPOINT ["/usr/bin/helm"]
62+
CMD ["help"]

β€Žhelm-image/_serviceβ€Ž

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<services>
2-
<service mode="buildtime" name="kiwi_label_helper"/>
2+
<service mode="buildtime" name="docker_label_helper"/>
33
<service mode="buildtime" name="kiwi_metainfo_helper"/>
4+
<service mode="buildtime" name="replace_using_package_version">
5+
<param name="file">Dockerfile</param>
6+
<param name="regex">%%helm_version%%</param>
7+
<param name="package">helm</param>
8+
<param name="parse-version">patch</param>
9+
</service>
410
</services>

β€Žhelm-image/config.shβ€Ž

Lines changed: 0 additions & 30 deletions
This file was deleted.

β€Žhelm-image/helm-image.changesβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-------------------------------------------------------------------
2+
Mon Dec 9 20:59:07 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
3+
4+
- switch to multibuild and add a version check at build time to avoid releasing incorrectly tagged containers
5+
16
-------------------------------------------------------------------
27
Mon Dec 9 12:05:35 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
38

β€Žhelm-image/helm-image.kiwiβ€Ž

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
Β (0)