Skip to content

Commit

Permalink
Merge pull request #2 from EIETS/chore/add-dockerfile
Browse files Browse the repository at this point in the history
add Dockerfile for containerized deployment
  • Loading branch information
HeZephyr authored Nov 27, 2024
2 parents 43e3a90 + 34192b2 commit 10b2d22
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .ignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
bin/*
vendor/

/bamboo-prometheus-exporter
bamboo_exporter
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ARG ARCH="amd64"
ARG OS="linux"
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
LABEL maintainer="https://github.com/EIETS"

ARG ARCH="amd64"
ARG OS="linux"
COPY .build/${OS}-${ARCH}/bamboo_exporter /bin/bamboo_exporter

EXPOSE 9117
USER nobody
ENTRYPOINT [ "/bin/bamboo_exporter" ]

0 comments on commit 10b2d22

Please sign in to comment.