Skip to content

Commit 9f66197

Browse files
author
SUSE Update Bot
committed
🤖: Update build recipes from templates
1 parent cf91d02 commit 9f66197

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎sle15-kernel-module-devel-image/Dockerfile‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,7 @@ LABEL org.opencontainers.image.base.name="%BASE_REFNAME%"
5151
LABEL org.opencontainers.image.base.digest="%BASE_DIGEST%"
5252
LABEL io.artifacthub.package.readme-url="%SOURCEURL_WITH(README.md)%"
5353
LABEL io.artifacthub.package.logo-url="https://opensource.suse.com/bci/SLE_BCI_logomark_green.svg"
54+
55+
#!ArchExclusiveLine: x86_64 aarch64 ppc64le
56+
RUN set -euo pipefail; if zypper -n install mokutil; then zypper -n clean -a; fi
57+
RUN set -euo pipefail; rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}; rm -f {/target,}/etc/shadow-

0 commit comments

Comments
 (0)