Skip to content

Commit cfcf768

Browse files
authored
Merge pull request #31 from klautcomputing/drop-root
Drop to chaoskube user
2 parents f086377 + 66d3206 commit cfcf768

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
FROM golang:1.7.5-alpine
1+
FROM golang:1.9-alpine
22

33
COPY . /go/src/github.com/linki/chaoskube
44
RUN go install -v github.com/linki/chaoskube
5+
RUN addgroup -S chaoskube && adduser -S -g chaoskube chaoskube
56

7+
USER chaoskube
68
ENTRYPOINT ["/go/bin/chaoskube"]

0 commit comments

Comments
 (0)