From 739973e261a053d37db883b9b0ef0a232ea10f7d4e85e91e31be7d4964d664be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Fri, 12 Apr 2024 12:18:06 +0000 Subject: [PATCH] [info=e7c06fe5b13c083fe36e55f90d0987e1] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.11-image?expand=0&rev=82 --- Dockerfile | 2 +- python-3.11-image.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ddbfb02..cfad5aa 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 python311-devel python311 python311-pip curl git-core python311-wheel python311-pipx; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends python311-devel python311 python311-pip curl git-core python311-wheel python311-pipx; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} ENV PYTHON_VERSION="%%py311_ver%%" ENV PATH="$PATH:/root/.local/bin" ENV PIP_VERSION="%%pip_ver%%" diff --git a/python-3.11-image.changes b/python-3.11-image.changes index 9e4260b..db2b82b 100644 --- a/python-3.11-image.changes +++ b/python-3.11-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