Skip to content

Commit

Permalink
fix for k8s error about user
Browse files Browse the repository at this point in the history
  • Loading branch information
max-rocket-internet committed Apr 28, 2020
1 parent 0ef44e2 commit e4f0fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN adduser --disabled-login --no-create-home --disabled-password --system --uid

FROM alpine:3.9.3
RUN addgroup -S non-root && adduser -S -G non-root non-root
USER non-root
USER 101
ENV USER non-root
COPY --from=builder /go/src/github.com/max-rocket-internet/k8s-event-logger/k8s-event-logger k8s-event-logger
CMD ["/k8s-event-logger"]

0 comments on commit e4f0fa7

Please sign in to comment.