diff --git a/Dockerfile b/Dockerfile index dbaf85d..88c626b 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 go1.21 go1.21-doc make git-core; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends go1.21 go1.21-doc make git-core; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} ENV GOLANG_VERSION="%%golang_version%%" ENV GOPATH="/go" ENV PATH="/go/bin:/usr/local/go/bin:/root/go/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" diff --git a/golang-oldstable-image.changes b/golang-oldstable-image.changes index 16f8026..0df5ad6 100644 --- a/golang-oldstable-image.changes +++ b/golang-oldstable-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 Feb 7 18:41:00 UTC 2024 - Dan Čermák