Skip to content

Commit

Permalink
Merge pull request #410 from zhangguanzhang/patch-1
Browse files Browse the repository at this point in the history
add noonroot in containers
  • Loading branch information
danielqsj authored Nov 3, 2023
2 parents a1d846d + 8025f7a commit 44342df
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,4 +7,5 @@ ARG BIN_DIR=.build/linux-${TARGETARCH}/
COPY ${BIN_DIR}/kafka_exporter /bin/kafka_exporter

EXPOSE 9308
USER nobody
ENTRYPOINT [ "/bin/kafka_exporter" ]

0 comments on commit 44342df

Please sign in to comment.