1
0
Fork 0
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:
Markus Lehtonen 2020-05-28 15:10:03 +03:00
parent 1b84e19024
commit 855bf34190

View file

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