Skip to content

Commit

Permalink
Capabilities for kopia binary (#1937)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
TimonOmsk and mergify[bot] committed Mar 6, 2023
1 parent 2b3e398 commit a4a8534
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/kanister-elasticsearch/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM ${TOOLS_IMAGE} AS TOOLS_IMAGE
FROM debian:bullseye
COPY --from=TOOLS_IMAGE /usr/local/bin/restic /usr/local/bin/restic
COPY --from=TOOLS_IMAGE /usr/local/bin/kopia /usr/local/bin/kopia
RUN setcap cap_chown,cap_fowner,cap_dac_override+iep /usr/local/bin/kopia
ADD kando /usr/local/bin/

RUN apt update
Expand Down
2 changes: 2 additions & 0 deletions docker/tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,6 @@ RUN microdnf -y update && microdnf -y install shadow-utils gzip && \
microdnf -y remove shadow-utils && \
microdnf clean all

RUN setcap cap_chown,cap_fowner,cap_dac_override+iep /usr/local/bin/kopia

CMD [ "/usr/bin/tail", "-f", "/dev/null" ]

0 comments on commit a4a8534

Please sign in to comment.