From 600d7d5ee64513785601c04f6cdb1aa6134a423af09301123a1b1d12783d7096 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Fri, 12 Apr 2024 12:15:03 +0000 Subject: [PATCH] [info=57b749412eb2e5462866b207fdefe80b] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/389-ds-container?expand=0&rev=118 --- 389-ds-container.changes | 5 +++++ Dockerfile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/389-ds-container.changes b/389-ds-container.changes index aa8e5c1..1e45085 100644 --- a/389-ds-container.changes +++ b/389-ds-container.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 12 12:03:53 UTC 2024 - Dirk Mueller + +- Don't wipe everything in /var/log, only remove log files (this omits directories owned by packages) + ------------------------------------------------------------------- Wed Jan 17 14:29:14 UTC 2024 - Dan Čermák diff --git a/Dockerfile b/Dockerfile index 97e1696..90df92d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ LABEL org.opensuse.release-stage="released" # endlabelprefix -RUN set -euo pipefail; zypper -n in --no-recommends 389-ds timezone openssl nss_synth; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends 389-ds timezone openssl nss_synth; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} CMD ["/usr/lib/dirsrv/dscontainer", "-r"] EXPOSE 3389 3636