SHA256
1
0
forked from pool/init-image

[info=06e678ced84b42990b3259933ccea89e]

OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/init-image?expand=0&rev=12
This commit is contained in:
Dan Čermák 2023-02-21 08:48:41 +00:00 committed by Git OBS Bridge
parent 745a337ba5
commit d309830046
2 changed files with 10 additions and 1 deletions

View File

@ -24,5 +24,9 @@ LABEL usage="This container should only be used to build containers for daemons.
RUN set -euo pipefail; zypper -n in --no-recommends systemd gzip; zypper -n clean; rm -rf /var/log/*
CMD ["/usr/lib/systemd/systemd"]
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"]
HEALTHCHECK --interval=5s --timeout=5s --retries=5 CMD ["/usr/bin/systemctl", "is-active", "multi-user.target"]

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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>