Skip to content

Commit

Permalink
Merge pull request #1410 from rksharma95/operator-add-license
Browse files Browse the repository at this point in the history
chore(operator): add license file to operator container image
  • Loading branch information
daemon1024 authored Sep 12, 2023
2 parents 116bb90 + df32ed3 commit 3bf3123
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/KubeArmorOperator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ RUN groupadd --gid 1000 default \

ARG OPERATOR_DIR=pkg/KubeArmorOperator
COPY --from=builder --chown=1000:1000 /KubeArmor/$OPERATOR_DIR/operator /operator
COPY LICENSE /licenses/license.txt
RUN setcap "cap_sys_admin=+ep cap_ipc_lock=+ep cap_sys_resource=+ep cap_dac_override=+ep cap_dac_read_search=+ep" /operator

USER 1000
Expand Down

0 comments on commit 3bf3123

Please sign in to comment.