From 1dacf62c3de07fa5d4672b788ffe22cf4d2451633d28209d81110dfe7dd1376d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Fri, 12 Apr 2024 12:15:07 +0000 Subject: [PATCH] [info=d13226c75a19cfcbc7769a52197682c1] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/blackbox_exporter-image?expand=0&rev=76 --- Dockerfile | 2 +- blackbox_exporter-image.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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