From 7f92e1b4d64b7faa64ad37ff4710b7f40dc83930b1947edd62315f1638bda676 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=81d0d795036e7b6a35da11227dde56d0] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/golang-oldstable-image?expand=0&rev=65 --- Dockerfile | 2 +- golang-oldstable-image.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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