From 0c77d21f7c3b6415af47265a928eb537bbd66be5f5150f47972d9e427226ec4f 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=8df9f29c6a8983bb1540ea98dd066a1c] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/postgres-13-image?expand=0&rev=79 --- Dockerfile | 2 +- postgres-13-image.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2caa2cc..6636a2c 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 postgresql13-server; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends postgresql13-server; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} ENV LANG="en_US.utf8" ENV PG_MAJOR="13" ENV PG_VERSION="%%pg_version%%" diff --git a/postgres-13-image.changes b/postgres-13-image.changes index 8ec9f8d..2cf02ee 100644 --- a/postgres-13-image.changes +++ b/postgres-13-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