From 1ee55ed8e7c2656e2e08d1bdeebe9185062a698b2380f60ef91a4d0c7190a7d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Fri, 12 Apr 2024 12:18:22 +0000 Subject: [PATCH] [info=a4ca175d1a4a10c76f8e248079b81e08] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rmt-server-image?expand=0&rev=115 --- Dockerfile | 2 +- rmt-server-image.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 81adc46..f4ba679 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 rmt-server catatonit; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends rmt-server catatonit; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} ENV RAILS_ENV="production" ENV LANG="en" diff --git a/rmt-server-image.changes b/rmt-server-image.changes index 5307b87..b45707d 100644 --- a/rmt-server-image.changes +++ b/rmt-server-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