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