From 7d8c5de9f7c997b2872fafb2e1fb8aa5dfb1f0e2a7cee057f949696ed310efb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Fri, 12 Apr 2024 12:16:28 +0000 Subject: [PATCH] [info=e8b25627d3085ea6d3192c26160705d8] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/openjdk-17-image?expand=0&rev=85 --- Dockerfile | 2 +- openjdk-17-image.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c5aec65..3571b09 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 java-17-openjdk; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends java-17-openjdk; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} ENV JAVA_BINDIR="/usr/lib64/jvm/java-17-openjdk-17/bin" ENV JAVA_HOME="/usr/lib64/jvm/java-17-openjdk-17" ENV JAVA_ROOT="/usr/lib64/jvm/java-17-openjdk-17" diff --git a/openjdk-17-image.changes b/openjdk-17-image.changes index bc4b498..069fb10 100644 --- a/openjdk-17-image.changes +++ b/openjdk-17-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