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