forked from danielqsj/kafka_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable building multi-arch docker images for s390x
- Loading branch information
1 parent
e135244
commit decd790
Showing
4 changed files
with
30 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
.* | ||
vendor | ||
Dockerfile | ||
Makefile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
FROM quay.io/prometheus/busybox:latest | ||
MAINTAINER Daniel Qian <[email protected]> | ||
|
||
COPY kafka_exporter /bin/kafka_exporter | ||
ARG TARGETARCH | ||
ARG BIN_DIR=.build/linux-${TARGETARCH}/ | ||
|
||
COPY ${BIN_DIR}/kafka_exporter /bin/kafka_exporter | ||
|
||
EXPOSE 9308 | ||
ENTRYPOINT [ "/bin/kafka_exporter" ] | ||
ENTRYPOINT [ "/bin/kafka_exporter" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters