From 0a0c0d50d6d097cf1324f4c9d3fbe40c912fa9571979334a70b76216abf8902b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Fri, 12 Apr 2024 12:15:29 +0000 Subject: [PATCH] [info=fa581612b156702f5c05056409531133] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-stable-image?expand=0&rev=65 --- Dockerfile | 2 +- golang-stable-image.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 93e0732..dc8092e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,7 @@ LABEL org.opensuse.release-stage="released" # endlabelprefix -RUN set -euo pipefail; zypper -n in --no-recommends go1.22 go1.22-doc make git-core; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends go1.22 go1.22-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-stable-image.changes b/golang-stable-image.changes index 6e3d7b0..21cfcc1 100644 --- a/golang-stable-image.changes +++ b/golang-stable-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