From 7b10040a7e1b27a927900e01f80defef09ab8bda7f69d2b270f1d423dc8689b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Fri, 12 Apr 2024 12:17:48 +0000 Subject: [PATCH] [info=749282a2113d84d77303c715a8a6ba37] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/postgres-16-image?expand=0&rev=37 --- Dockerfile | 2 +- postgres-16-image.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f1e3112..e84f98d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,7 @@ LABEL org.opensuse.release-stage="released" # endlabelprefix -RUN set -euo pipefail; zypper -n in --no-recommends postgresql16-server; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends postgresql16-server; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} ENV LANG="en_US.utf8" ENV PG_MAJOR="16" ENV PG_VERSION="%%pg_version%%" diff --git a/postgres-16-image.changes b/postgres-16-image.changes index 44b5835..29bcb0a 100644 --- a/postgres-16-image.changes +++ b/postgres-16-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