From 25453e063acc5d1615903304b62975fc19db804d Mon Sep 17 00:00:00 2001 From: Dmitry Golushko Date: Wed, 8 Feb 2023 02:23:23 +0100 Subject: [PATCH] Add setfcap capability to /usr/sbin/setcap --- docker/tools/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/tools/Dockerfile b/docker/tools/Dockerfile index e098461b6e..3a53b2ae7e 100644 --- a/docker/tools/Dockerfile +++ b/docker/tools/Dockerfile @@ -52,6 +52,7 @@ LABEL name="kanister-tools" \ COPY --from=restic/restic:0.11.0 /usr/bin/restic /usr/local/bin/restic COPY --from=builder /kopia/kopia /usr/local/bin/kopia COPY LICENSE /licenses/LICENSE +RUN setcap cap_setfcap+i /usr/sbin/setcap ADD kando /usr/local/bin/ RUN microdnf -y update && microdnf -y install shadow-utils gzip && \