diff --git a/Dockerfile b/Dockerfile index 7a328df..0c8bd2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,6 @@ LABEL org.opensuse.release-stage="released" # endlabelprefix -RUN set -euo pipefail; zypper -n in --no-recommends prometheus-blackbox_exporter; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends prometheus-blackbox_exporter; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} ENTRYPOINT ["/usr/bin/blackbox_exporter"] EXPOSE 9115 diff --git a/blackbox_exporter-image.changes b/blackbox_exporter-image.changes index 1e3ca46..ab0de55 100644 --- a/blackbox_exporter-image.changes +++ b/blackbox_exporter-image.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