1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Run as user 1000 so pod can be runAsNonRoot for security purposes

This commit is contained in:
Jye Lee
2020-12-10 09:37:49 -08:00
parent c86d1c7eb2
commit 0cfbdf642b
2 changed files with 4 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ FROM scratch
MAINTAINER Avesh Agarwal <avesh.ncsu@gmail.com>
USER 1000
COPY --from=0 /go/src/sigs.k8s.io/descheduler/_output/bin/descheduler /bin/descheduler
CMD ["/bin/descheduler", "--help"]