Accepting request 1097011 from devel:BCI:Tumbleweed
- label capitalization and related cleanups - Add release stage and lifecycle url - Correct org.opensuse.reference label - Add org.opencontainers.image.source label set to %SOURCEURL% - Disable systemd colors OBS-URL: https://build.opensuse.org/request/show/1097011 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/init-image?expand=0&rev=2
This commit is contained in:
commit
a2460b9eb9
27
Dockerfile
27
Dockerfile
@ -1,29 +1,34 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#!BuildTag: bci/bci-init:%OS_VERSION_ID_SP%
|
||||
#!BuildTag: bci/bci-init:%OS_VERSION_ID_SP%.%RELEASE%
|
||||
#!BuildTag: bci/bci-init:latest
|
||||
#!BuildTag: opensuse/bci/bci-init:%OS_VERSION_ID_SP%
|
||||
#!BuildTag: opensuse/bci/bci-init:%OS_VERSION_ID_SP%.%RELEASE%
|
||||
#!BuildTag: opensuse/bci/bci-init: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.init
|
||||
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI %OS_VERSION% Init Container Image"
|
||||
LABEL org.opencontainers.image.description="Systemd environment for containers based on the SLE Base Container Image. This container is not supported when using container runtime other than podman."
|
||||
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI openSUSE Tumbleweed Init"
|
||||
LABEL org.opencontainers.image.description="Systemd environment for containers based on the SLE Base Container Image. This container is only supported with podman."
|
||||
LABEL org.opencontainers.image.version="%OS_VERSION_ID_SP%.%RELEASE%"
|
||||
LABEL org.opencontainers.image.url="https://www.opensuse.org"
|
||||
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||
LABEL org.opencontainers.image.vendor="openSUSE Project"
|
||||
LABEL org.opensuse.reference="registry.opensuse.org/bci/bci-init:%OS_VERSION_ID_SP%.%RELEASE%"
|
||||
LABEL org.opencontainers.image.source="%SOURCEURL%"
|
||||
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/bci-init:%OS_VERSION_ID_SP%.%RELEASE%"
|
||||
LABEL org.openbuildservice.disturl="%DISTURL%"
|
||||
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime"
|
||||
LABEL org.opensuse.release-stage="released"
|
||||
|
||||
LABEL com.suse.release-stage="released"
|
||||
# endlabelprefix
|
||||
LABEL usage="This container should only be used to build containers for daemons. Add your packages and enable services using systemctl."
|
||||
|
||||
RUN set -euo pipefail; zypper -n in --no-recommends systemd gzip; zypper -n clean; rm -rf /var/log/*
|
||||
|
||||
|
||||
|
||||
CMD ["/usr/lib/systemd/systemd"]
|
||||
HEALTHCHECK --interval=5s --timeout=5s --retries=5 CMD ["/usr/bin/systemctl", "is-active", "multi-user.target"]
|
||||
|
||||
RUN mkdir -p /etc/systemd/system.conf.d/ && \
|
||||
printf "[Manager]\nLogColor=no" > \
|
||||
/etc/systemd/system.conf.d/01-sle-bci-nocolor.conf
|
||||
RUN systemctl disable getty@tty1.service
|
||||
HEALTHCHECK --interval=5s --timeout=5s --retries=5 CMD ["/usr/bin/systemctl", "is-active", "multi-user.target"]
|
||||
|
3
_service
3
_service
@ -1,5 +1,4 @@
|
||||
<services>
|
||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||
<service mode="buildtime" name="docker_label_helper"/>
|
||||
|
||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||
</services>
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 23 15:33:33 UTC 2023 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- label capitalization and related cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 30 06:52:56 UTC 2023 - Dan Čermák <dcermak@suse.com>
|
||||
|
||||
- Add release stage and lifecycle url
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 06:18:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- Correct org.opensuse.reference label
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 3 07:24:36 UTC 2023 - Dan Čermák <dcermak@suse.com>
|
||||
|
||||
- Add org.opencontainers.image.source label set to %SOURCEURL%
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 07:50:18 UTC 2023 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- Disable systemd colors
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 15 11:08:17 UTC 2022 - Dan Čermák <dcermak@suse.com>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user