File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 66from bci_build .container_attributes import UDP
77from bci_build .os_version import ALL_NONBASE_OS_VERSIONS
88from bci_build .os_version import CAN_BE_LATEST_OS_VERSION
9+ from bci_build .package import DOCKERFILE_RUN
910from bci_build .package import ApplicationStackContainer
11+ from bci_build .package .helpers import generate_from_image_tag
1012from bci_build .package .versions import get_pkg_version
1113
1214_BASE_PODMAN_KEA_CMD = "podman run --replace -it --privileged --network=host"
2022 version = get_pkg_version ("kea" , os_version ),
2123 license = "MPL-2.0" ,
2224 is_latest = os_version in CAN_BE_LATEST_OS_VERSION ,
25+ from_target_image = generate_from_image_tag (os_version , "bci-micro" ),
26+ version_in_uid = False ,
2327 pretty_name = "Kea DHCP Server" ,
2428 package_list = ["kea" , "util-linux" ],
29+ build_stage_custom_end = textwrap .dedent (f"""
30+ { DOCKERFILE_RUN } zypper -n install --no-recommends systemd && \\
31+ systemd-tmpfiles --create --root /target""" ),
2532 custom_end = textwrap .dedent ("""
2633 ENV KEA_PIDFILE_DIR="/var/run/kea"
2734 RUN install -m 0750 -o root -g root -d /var/run/kea""" ),
You can’t perform that action at this time.
0 commit comments