From 177fa4b5ce0ad6ad25d78c8f3480d8f3a3694077b5b03f94da360b92732c0206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Fri, 12 Apr 2024 12:17:48 +0000 Subject: [PATCH] [info=d0822ec79cb44a7c7064611047ce9c9e] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.10-image?expand=0&rev=123 --- Dockerfile | 2 +- python-3.10-image.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 52fa7fd..d31a0ad 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 python310-devel python310 python310-pip curl git-core python310-wheel python310-pipx; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends python310-devel python310 python310-pip curl git-core python310-wheel python310-pipx; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} ENV PYTHON_VERSION="%%py310_ver%%" ENV PATH="$PATH:/root/.local/bin" ENV PIP_VERSION="%%pip_ver%%" diff --git a/python-3.10-image.changes b/python-3.10-image.changes index 76ede62..86ea14d 100644 --- a/python-3.10-image.changes +++ b/python-3.10-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