-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update kiwi-image to rev 1 via SR 1187587
https://build.opensuse.org/request/show/1187587 by user dancermak + anag+factory 🤖: initial submission of kiwi-image
- Loading branch information
1 parent
e60ac75
commit 91b412e
Showing
7 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<package name="kiwi-image" project="openSUSE:Factory"> | ||
<title>openSUSE Tumbleweed BCI KIWI Appliance Builder (kiwi)</title> | ||
<description>KIWI Appliance Builder (kiwi) container based on the openSUSE Tumbleweed Base Container Image. This container is only supported in privileged mode.</description> | ||
<devel project="devel:BCI:Tumbleweed" package="kiwi-image"/> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<revisionlist> | ||
<revision rev="1" vrev="1"> | ||
<srcmd5>08b74441ca553c9e8aec83cc6fb604d3</srcmd5> | ||
<version>unknown</version> | ||
<time>1721065810</time> | ||
<user>anag+factory</user> | ||
<comment>🤖: initial submission of kiwi-image</comment> | ||
<requestid>1187587</requestid> | ||
</revision> | ||
</revisionlist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
# Copyright (c) 2024 SUSE LLC | ||
|
||
# All modifications and additions to the file contributed by third parties | ||
# remain the property of their copyright owners, unless otherwise agreed | ||
# upon. | ||
|
||
# The content of THIS FILE IS AUTOGENERATED and should not be manually modified. | ||
# It is maintained by the BCI team and generated by | ||
# https://github.com/SUSE/BCI-dockerfile-generator | ||
|
||
# Please submit bugfixes or comments via https://bugs.opensuse.org/ | ||
# You can contact the BCI team via https://github.com/SUSE/bci/discussions | ||
|
||
|
||
#!BuildTag: opensuse/bci/kiwi:10.0.21 | ||
#!BuildTag: opensuse/bci/kiwi:10.0.21-%RELEASE% | ||
#!BuildTag: opensuse/bci/kiwi:10.0 | ||
#!BuildTag: opensuse/bci/kiwi:10.0-%RELEASE% | ||
#!BuildTag: opensuse/bci/kiwi:10 | ||
#!BuildTag: opensuse/bci/kiwi:10-%RELEASE% | ||
#!BuildTag: opensuse/bci/kiwi:latest | ||
|
||
FROM opensuse/tumbleweed:latest | ||
|
||
MAINTAINER openSUSE (https://www.opensuse.org/) | ||
|
||
# Define labels according to https://en.opensuse.org/Building_derived_containers | ||
# labelprefix=org.opensuse.bci.kiwi | ||
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI KIWI Appliance Builder (kiwi)" | ||
LABEL org.opencontainers.image.description="KIWI Appliance Builder (kiwi) container based on the openSUSE Tumbleweed Base Container Image. This container is only supported in privileged mode." | ||
LABEL org.opencontainers.image.version="10.0.21" | ||
LABEL org.opencontainers.image.url="https://www.opensuse.org" | ||
LABEL org.opencontainers.image.created="%BUILDTIME%" | ||
LABEL org.opencontainers.image.vendor="openSUSE Project" | ||
LABEL org.opencontainers.image.source="%SOURCEURL%" | ||
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/kiwi:10.0.21-%RELEASE%" | ||
LABEL org.openbuildservice.disturl="%DISTURL%" | ||
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime" | ||
LABEL org.opensuse.release-stage="released" | ||
# endlabelprefix | ||
LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/kiwi-image/README.md" | ||
|
||
RUN set -euo pipefail; zypper -n in --no-recommends btrfsprogs checkmedia dracut-kiwi-oem-repart e2fsprogs enchant-devel gcc glibc-devel iproute2 jing kiwi-systemdeps-core libxml2-devel lvm2 make netcat-openbsd python3-devel python3-kiwi python3-pip tack timezone xfsprogs; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# KIWI Appliance Builder (kiwi) container image | ||
|
||
![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green) | ||
|
||
## Description | ||
|
||
[KIWI NG](https://osinside.github.io/kiwi/) is a command-line utility for | ||
building Linux system appliances. An appliance is a ready to use image of an | ||
operating system that includes a pre-configured application for a specific | ||
use case. The appliance is provided as an image file and needs to be deployed | ||
to or activated in the target system or service. | ||
|
||
KIWI NG can create different types of appliances. In addition to the standard | ||
installation ISOs and images for virtual machines, KIWI NG can also build | ||
images that boot via PXE or Vagrant boxes. | ||
|
||
## Usage | ||
|
||
To build a system image, you need to create a KIWI image description and | ||
mount it into your container. | ||
[The KIWI image description](https://osinside.github.io/kiwi/image_description.html) | ||
is a collection of human-readable files stored in a directory. Provide at | ||
least one XML file named `config.xml` or `*.kiwi`. There can be other files | ||
like scripts or configuration files. | ||
|
||
To build a KIWI NG appliance, launch the container in privileged mode: | ||
|
||
```ShellSession | ||
$ podman run --privileged -v /path/to/kiwi/descr:/image:Z registry.opensuse.org/opensuse/bci/kiwi:10.0.21 | ||
``` | ||
|
||
For more information about KIWI NG, see the [KIWI NG documentation](https://osinside.github.io/kiwi/), | ||
specifically the [Getting Started Guide](https://osinside.github.io/kiwi/quickstart.html). | ||
|
||
|
||
## Licensing | ||
|
||
`SPDX-License-Identifier: GPL-3.0-or-later` | ||
|
||
This documentation and the build recipe are licensed as GPL-3.0-or-later. | ||
The container itself contains various software components under various open source licenses listed in the associated | ||
Software Bill of Materials (SBOM). | ||
|
||
This image is based on [openSUSE Tumbleweed](https://get.opensuse.org/tumbleweed/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<services> | ||
<service mode="buildtime" name="docker_label_helper"/> | ||
<service mode="buildtime" name="kiwi_metainfo_helper"/> | ||
</services> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
------------------------------------------------------------------- | ||
Fri Jul 12 15:38:44 UTC 2024 - Dirk Mueller <dmueller@suse.com> | ||
|
||
- First version of the KIWI Appliance Builder (kiwi) BCI |