mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
Dockerfile: run as non-root
This commit is contained in:
parent
1b84e19024
commit
855bf34190
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ RUN make test
|
|||
# Create production image for running node feature discovery
|
||||
FROM debian:stretch-slim
|
||||
|
||||
# Run as unprivileged user
|
||||
USER 65534:65534
|
||||
|
||||
# Use more verbose logging of gRPC
|
||||
ENV GRPC_GO_LOG_SEVERITY_LEVEL="INFO"
|
||||
|
||||
|
|
Loading…
Reference in a new issue