Merge pull request #2342 from fluxcd/flux-cli-non-root

Run the CLI as non-root
This commit is contained in:
Stefan Prodan 2022-01-26 10:39:10 +02:00 committed by GitHub
commit 776a7fc9c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" ]