Skip to content

Commit 45f414a

Browse files
authored
Merge pull request #2733 from SUSE/for-deploy-16.0
🤖: Update build recipes for 16.0
2 parents 279bd47 + cb54c1a commit 45f414a

5 files changed

Lines changed: 176 additions & 0 deletions

File tree

.obs/workflows.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ staging_build:
4141
source_project: home:pushman:BCI:CR:16.0
4242
source_package: init-image
4343
target_project: home:pushman:BCI:CR:16.0:Staging
44+
- branch_package:
45+
source_project: home:pushman:BCI:CR:16.0
46+
source_package: kea-image
47+
target_project: home:pushman:BCI:CR:16.0:Staging
4448
- branch_package:
4549
source_project: home:pushman:BCI:CR:16.0
4650
source_package: kiwi-image
@@ -168,6 +172,9 @@ refresh_devel_BCI:
168172
- trigger_services:
169173
project: devel:BCI:16.0
170174
package: init-image
175+
- trigger_services:
176+
project: devel:BCI:16.0
177+
package: kea-image
171178
- trigger_services:
172179
project: devel:BCI:16.0
173180
package: kiwi-image

kea-image/Dockerfile

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
3+
# Copyright (c) 2025 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/kea:2.6-%RELEASE%
19+
#!BuildTag: suse/kea:2.6
20+
#!BuildName: suse-kea-2.6
21+
#!BuildVersion: 16.0.2.6
22+
FROM bci/bci-base:16.0
23+
24+
RUN set -euo pipefail; \
25+
zypper -n install --no-recommends kea util-linux
26+
RUN set -euo pipefail; zypper -n clean -a; \
27+
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}
28+
29+
# Define labels according to https://en.opensuse.org/Building_derived_containers
30+
# labelprefix=com.suse.application.kea
31+
LABEL org.opencontainers.image.authors="https://github.com/SUSE/bci/discussions"
32+
LABEL org.opencontainers.image.title="SLE Kea DHCP Server"
33+
LABEL org.opencontainers.image.description="Kea DHCP Server container based on the SLE Base Container Image."
34+
LABEL org.opencontainers.image.version="2.6"
35+
LABEL org.opencontainers.image.url="https://www.suse.com/products/base-container-images/"
36+
LABEL org.opencontainers.image.created="%BUILDTIME%"
37+
LABEL org.opencontainers.image.vendor="SUSE LLC"
38+
LABEL org.opencontainers.image.source="%SOURCEURL%"
39+
LABEL org.opencontainers.image.ref.name="2.6-%RELEASE%"
40+
LABEL org.opensuse.reference="registry.suse.com/suse/kea:2.6-%RELEASE%"
41+
LABEL org.openbuildservice.disturl="%DISTURL%"
42+
LABEL com.suse.supportlevel="techpreview"
43+
LABEL com.suse.eula="sle-eula"
44+
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle"
45+
LABEL com.suse.release-stage="beta"
46+
# endlabelprefix
47+
LABEL io.artifacthub.package.readme-url="%SOURCEURL_WITH(README.md)%"
48+
LABEL run="podman run --replace -it --privileged --network=host --name kea-dhcp4 -v /etc/kea:/etc/kea IMAGE kea-dhcp4 -c /etc/kea/kea-dhcp4.conf"
49+
LABEL runcwd="podman run --replace -it --privileged --network=host --name kea-dhcp4 -v .:/etc/kea IMAGE kea-dhcp4 -c /etc/kea/kea-dhcp4.conf"
50+
LABEL run_dhcp6="podman run --replace -it --privileged --network=host --name kea-dhcp6 -v /etc/kea:/etc/kea IMAGE kea-dhcp6 -c /etc/kea/kea-dhcp6.conf"
51+
LABEL runcwd_dhcp6="podman run --replace -it --privileged --network=host --name kea-dhcp6 -v .:/etc/kea IMAGE kea-dhcp6 -c /etc/kea/kea-dhcp6.conf"
52+
EXPOSE 67/tcp 67/udp
53+
54+
ENV KEA_PIDFILE_DIR="/var/run/kea"
55+
RUN install -m 0750 -o root -g root -d /var/run/kea

kea-image/README.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Kea DHCP Server Container Image
2+
3+
![Support Level](https://img.shields.io/badge/Support_Level-techpreview-blue)
4+
[![SLSA](https://img.shields.io/badge/SLSA_(v0.1)-Level_4-Green)](https://documentation.suse.com/sbp/server-linux/html/SBP-SLSA4/)
5+
[![Provenance: Available](https://img.shields.io/badge/Provenance-Available-Green)](https://documentation.suse.com/container/all/html/Container-guide/index.html#container-verify)
6+
7+
Kea is an open-source DHCP server developed by the [Internet Systems
8+
Consortium](https://www.isc.org/) and the successor of the now deprecated
9+
DHCPd. The Kea distribution includes a DHCPv4 server, a DHCPv6 server, and a
10+
Dynamic DNS (DDNS) server. Significant features include: support for IPv6 prefix
11+
delegation, host reservations (which may be optionally stored in a separate back
12+
end database), Preboot Execution Environment (PXE) boot, client classification,
13+
shared networks, and high-availability (failover pairs). Kea can store leases
14+
locally in a memfile, or in a PostgreSQL or MySQL database. Kea has a supported
15+
API for writing optional extensions, using 'hooks'.
16+
17+
## How to use this Container Image
18+
19+
20+
The container image expects configuration file in the directory `/etc/kea`.
21+
Execute the following command to run DHCP using the configuration provided in the directory `/etc/kea`:
22+
23+
```ShellSession
24+
podman container runlabel run \
25+
registry.suse.com/suse/kea:2.6
26+
```
27+
To run a DHCP6 server using the configuration file supplied in the directory `/etc/kea`, execute the following command:
28+
29+
```ShellSession
30+
podman container runlabel run_dhcp6 \
31+
registry.suse.com/suse/kea:2.6
32+
```
33+
34+
The Kea configuration file can also be provided in the current working directory.
35+
To run a DHCP or a DHCP6 server using the configuration file in the current working directory, execute the following commands:
36+
37+
```ShellSession
38+
$ # for DHCP
39+
$ podman container runlabel runcwd \
40+
registry.suse.com/suse/kea:2.6
41+
$ # for DHCP6
42+
$ podman container runlabel runcwd_dhcp6 \
43+
registry.suse.com/suse/kea:2.6
44+
```
45+
46+
## Licensing
47+
48+
`SPDX-License-Identifier: MPL-2.0`
49+
50+
This documentation and the build recipe are licensed as MPL-2.0.
51+
The container itself contains various software components under various open source licenses listed in the associated
52+
Software Bill of Materials (SBOM).
53+
54+
This image is a tech preview. Do not use it for production.
55+
Your feedback is welcome.
56+
Please report any issues to the [SUSE Bugzilla](https://bugzilla.suse.com/enter_bug.cgi?product=SUSE%20Linux%20Enterprise%20Base%20Container%20Images).

kea-image/_service

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<services>
2+
<service mode="buildtime" name="docker_label_helper"/>
3+
<service mode="buildtime" name="kiwi_metainfo_helper"/>
4+
</services>

kea-image/kea-image.changes

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
-------------------------------------------------------------------
2+
Fri Jul 4 11:38:42 UTC 2025 - Dirk Müller <dmueller@suse.com>
3+
4+
- rerender for SL16
5+
6+
-------------------------------------------------------------------
7+
Tue Jun 17 17:17:54 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
8+
9+
- increase buildrelease
10+
11+
-------------------------------------------------------------------
12+
Tue Jun 17 13:58:41 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
13+
14+
- add latest tags
15+
16+
-------------------------------------------------------------------
17+
Fri May 23 11:24:20 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
18+
19+
- use SOURCEURL_WITH to generate proper artifacthub urls
20+
21+
-------------------------------------------------------------------
22+
Fri May 16 08:22:33 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
23+
24+
- switch to released mode
25+
26+
-------------------------------------------------------------------
27+
Tue May 6 11:22:25 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
28+
29+
- avoid double slash in readme url
30+
31+
-------------------------------------------------------------------
32+
Mon Apr 28 10:48:56 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
33+
34+
- zypper clean also the system repository from the container
35+
36+
-------------------------------------------------------------------
37+
Wed Jan 1 14:14:20 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
38+
39+
- update copyright year
40+
41+
-------------------------------------------------------------------
42+
Tue Dec 3 14:08:38 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
43+
44+
- Change attribute order in _service
45+
46+
-------------------------------------------------------------------
47+
Tue Dec 3 14:08:35 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
48+
49+
- dockerfile fixes
50+
51+
-------------------------------------------------------------------
52+
Wed Nov 27 08:43:47 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
53+
54+
- First version of the Kea DHCP Server 2.6 BCI

0 commit comments

Comments
 (0)