From 178e37af0ca8fa4d5bc4946d3ec0c91eb5adeddd Mon Sep 17 00:00:00 2001 From: "Constanti, Mario (415)" Date: Mon, 23 Jul 2018 09:13:51 +0200 Subject: [PATCH] run chaoskube as nobody --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3cda93e6..b30a3b04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,7 @@ FROM alpine:3.7 MAINTAINER Linki RUN apk --no-cache add ca-certificates dumb-init tzdata -RUN addgroup -S chaoskube && adduser -S -g chaoskube chaoskube COPY --from=builder /bin/chaoskube /bin/chaoskube -USER chaoskube +USER 65534 ENTRYPOINT ["dumb-init", "--", "/bin/chaoskube"]