SHA256
1
0
forked from pool/init-image

[info=ba9ab281cc529421f944210f3edc40c6]

OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/init-image?expand=0&rev=85
This commit is contained in:
Dan Čermák 2024-04-12 12:15:50 +00:00 committed by Git OBS Bridge
parent d38fde0890
commit 6ea6b79e62
2 changed files with 6 additions and 1 deletions

View File

@ -41,7 +41,7 @@ LABEL org.opensuse.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/*
RUN set -euo pipefail; zypper -n in --no-recommends systemd gzip; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
CMD ["/usr/lib/systemd/systemd"]
RUN mkdir -p /etc/systemd/system.conf.d/ && \

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 12 12:03:53 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- Don't wipe everything in /var/log, only remove log files (this omits directories owned by packages)
-------------------------------------------------------------------
Fri Mar 22 17:20:58 UTC 2024 - Dirk Mueller <dmueller@suse.com>