Skip to content

Commit

Permalink
Add helm-exporter user in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
benhartley authored and sstarcher committed Jun 13, 2019
1 parent c01e340 commit c749f50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /go/bin/helm-exporter /go/

FROM alpine:3.9
RUN apk --update add ca-certificates
RUN addgroup -S helm-exporter && adduser -S -G helm-exporter helm-exporter
USER helm-exporter
COPY --from=builder /go/bin/helm-exporter /usr/local/bin/helm-exporter

Expand Down

0 comments on commit c749f50

Please sign in to comment.