Skip to content

Commit

Permalink
Merge pull request #89 from bavarianbidi/set-user-id
Browse files Browse the repository at this point in the history
run chaoskube as nobody
  • Loading branch information
linki authored Jul 23, 2018
2 parents 8c5333e + 178e37a commit bdaff21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ FROM alpine:3.7
MAINTAINER Linki <linki+docker.com@posteo.de>

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

0 comments on commit bdaff21

Please # to comment.