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