mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-29 11:14:38 +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…
Add table
Reference in a new issue