teams/cloud/container, tmt: Build the container images as OCI images
This incorporates the labels that are expected for Fedora images.
This commit is contained in:
parent
31d0b2a70f
commit
0becdd4d43
@ -12,15 +12,77 @@
|
|||||||
<requires profile="ContainerCore"/>
|
<requires profile="ContainerCore"/>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
<preferences profiles="Container-Base-Generic-Minimal,Container-Base-Generic">
|
<preferences profiles="Container-Base-Generic">
|
||||||
<type image="tbz"/>
|
<type image="oci">
|
||||||
|
<containerconfig
|
||||||
|
name="fedora"
|
||||||
|
tag="rawhide"
|
||||||
|
maintainer="Fedora Project Contributors <devel@lists.fedoraproject.org>"
|
||||||
|
>
|
||||||
|
<subcommand execute="/bin/bash"/>
|
||||||
|
<labels>
|
||||||
|
<label name="org.opencontainers.image.vendor" value="Fedora Project"/>
|
||||||
|
<label name="org.opencontainers.image.url" value="https://fedoraproject.org/"/>
|
||||||
|
<label name="org.opencontainers.image.license" value="MIT"/>
|
||||||
|
<label name="org.opencontainers.image.version" value="rawhide"/>
|
||||||
|
<!-- Legacy attributes for backward compatibility -->
|
||||||
|
<label name="vendor" value="Fedora Project"/>
|
||||||
|
<label name="license" value="MIT"/>
|
||||||
|
<label name="version" value="rawhide"/>
|
||||||
|
</labels>
|
||||||
|
</containerconfig>
|
||||||
|
</type>
|
||||||
|
<timezone>Etc/UTC</timezone>
|
||||||
|
<locale>en_US</locale>
|
||||||
|
<rpm-locale-filtering>true</rpm-locale-filtering>
|
||||||
|
<rpm-excludedocs>true</rpm-excludedocs>
|
||||||
|
</preferences>
|
||||||
|
<preferences profiles="Container-Base-Generic-Minimal">
|
||||||
|
<type image="oci">
|
||||||
|
<containerconfig
|
||||||
|
name="fedora-minimal"
|
||||||
|
tag="rawhide"
|
||||||
|
maintainer="Fedora Project Contributors <devel@lists.fedoraproject.org>"
|
||||||
|
>
|
||||||
|
<subcommand execute="/bin/bash"/>
|
||||||
|
<labels>
|
||||||
|
<label name="org.opencontainers.image.vendor" value="Fedora Project"/>
|
||||||
|
<label name="org.opencontainers.image.url" value="https://fedoraproject.org/"/>
|
||||||
|
<label name="org.opencontainers.image.license" value="MIT"/>
|
||||||
|
<label name="org.opencontainers.image.version" value="rawhide"/>
|
||||||
|
<!-- Legacy attributes for backward compatibility -->
|
||||||
|
<label name="vendor" value="Fedora Project"/>
|
||||||
|
<label name="license" value="MIT"/>
|
||||||
|
<label name="version" value="rawhide"/>
|
||||||
|
</labels>
|
||||||
|
</containerconfig>
|
||||||
|
</type>
|
||||||
<timezone>Etc/UTC</timezone>
|
<timezone>Etc/UTC</timezone>
|
||||||
<locale>en_US</locale>
|
<locale>en_US</locale>
|
||||||
<rpm-locale-filtering>true</rpm-locale-filtering>
|
<rpm-locale-filtering>true</rpm-locale-filtering>
|
||||||
<rpm-excludedocs>true</rpm-excludedocs>
|
<rpm-excludedocs>true</rpm-excludedocs>
|
||||||
</preferences>
|
</preferences>
|
||||||
<preferences profiles="Container-Toolbox">
|
<preferences profiles="Container-Toolbox">
|
||||||
<type image="tbz"/>
|
<type image="oci">
|
||||||
|
<containerconfig
|
||||||
|
name="fedora-toolbox"
|
||||||
|
tag="rawhide"
|
||||||
|
maintainer="Fedora Project Contributors <devel@lists.fedoraproject.org>"
|
||||||
|
>
|
||||||
|
<subcommand execute="/bin/bash"/>
|
||||||
|
<labels>
|
||||||
|
<label name="org.opencontainers.image.vendor" value="Fedora Project"/>
|
||||||
|
<label name="org.opencontainers.image.url" value="https://fedoraproject.org/"/>
|
||||||
|
<label name="org.opencontainers.image.license" value="MIT"/>
|
||||||
|
<label name="org.opencontainers.image.version" value="rawhide"/>
|
||||||
|
<label name="com.github.containers.toolbox" value="true"/>
|
||||||
|
<!-- Legacy attributes for backward compatibility -->
|
||||||
|
<label name="vendor" value="Fedora Project"/>
|
||||||
|
<label name="license" value="MIT"/>
|
||||||
|
<label name="version" value="rawhide"/>
|
||||||
|
</labels>
|
||||||
|
</containerconfig>
|
||||||
|
</type>
|
||||||
<timezone>Etc/UTC</timezone>
|
<timezone>Etc/UTC</timezone>
|
||||||
<locale>en_US</locale>
|
<locale>en_US</locale>
|
||||||
<rpm-locale-filtering>false</rpm-locale-filtering>
|
<rpm-locale-filtering>false</rpm-locale-filtering>
|
||||||
|
@ -2,7 +2,7 @@ summary: Build Minimal Generic base container image
|
|||||||
discover:
|
discover:
|
||||||
how: fmf
|
how: fmf
|
||||||
environment:
|
environment:
|
||||||
image_type: tbz
|
image_type: oci
|
||||||
image_profile: Container-Base-Generic-Minimal
|
image_profile: Container-Base-Generic-Minimal
|
||||||
execute:
|
execute:
|
||||||
how: tmt
|
how: tmt
|
||||||
|
@ -2,7 +2,7 @@ summary: Build Generic base container image
|
|||||||
discover:
|
discover:
|
||||||
how: fmf
|
how: fmf
|
||||||
environment:
|
environment:
|
||||||
image_type: tbz
|
image_type: oci
|
||||||
image_profile: Container-Base-Generic
|
image_profile: Container-Base-Generic
|
||||||
execute:
|
execute:
|
||||||
how: tmt
|
how: tmt
|
||||||
|
@ -2,7 +2,7 @@ summary: Build Toolbox container image
|
|||||||
discover:
|
discover:
|
||||||
how: fmf
|
how: fmf
|
||||||
environment:
|
environment:
|
||||||
image_type: tbz
|
image_type: oci
|
||||||
image_profile: Container-Toolbox
|
image_profile: Container-Toolbox
|
||||||
execute:
|
execute:
|
||||||
how: tmt
|
how: tmt
|
||||||
|
Loading…
Reference in New Issue
Block a user