Skip to content

Commit

Permalink
Merge pull request #2342 from fluxcd/flux-cli-non-root
Browse files Browse the repository at this point in the history
Run the CLI as non-root
  • Loading branch information
stefanprodan authored Jan 26, 2022
2 parents 030e166 + 08412b7 commit 776a7fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ RUN apk add --no-cache ca-certificates
COPY --from=builder /usr/local/bin/kubectl /usr/local/bin/
COPY --chmod=755 flux /usr/local/bin/

USER 65534:65534
ENTRYPOINT [ "flux" ]

0 comments on commit 776a7fc

Please # to comment.