From 4ab647df5dc1c414fd6a3434780a4d41db4dec43 Mon Sep 17 00:00:00 2001 From: "Sam Wang (holyspectral)" Date: Sun, 29 Dec 2024 10:34:30 -0500 Subject: [PATCH] fix: permission issues on OpenShift scanner --- package/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/package/Dockerfile b/package/Dockerfile index a734e1f4..6dc907f0 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -41,6 +41,7 @@ RUN zypper refresh && zypper --installroot /chroot -n in --no-recommends \ RUN cd /chroot/usr/bin/ && rm -rf basename chcon chgrp chmod chown chroot cksum dd df dircolors dirname du install install-info join locale localedef mkdir mkfifo mknod mktemp paste pathchk readlink realpath sync smidiff smidump smilink smiquery smistrip smixlate tee tiemout tload top truncate unlink watch RUN mkdir -p /chroot/etc/neuvector/certs/internal/ && mkdir -p /chroot/share && touch /chroot/share/.nvcontainer +RUN chmod 770 /chroot/etc/neuvector/certs/internal/ # # Artifact