-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
46ea9f0
commit 62abb79
Showing
10 changed files
with
46 additions
and
18 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
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,11 +1,9 @@ | ||
FROM amd64/busybox:musl | ||
FROM alpine:latest | ||
MAINTAINER Richard Mitchell <[email protected]> | ||
|
||
COPY ./build/hue_exporter.amd64 /bin/hue_exporter | ||
COPY ./build/hue_exporter.amd64.musl /bin/hue_exporter | ||
COPY hue_exporter.example.yml /etc/hue_exporter/config.yml | ||
|
||
VOLUME /etc/hue_exporter | ||
|
||
EXPOSE 9366 | ||
ENTRYPOINT [ "/bin/hue_exporter" ] | ||
CMD [ "--config.file=/etc/hue_exporter/config.yml" ] | ||
CMD [ "--config.file=/etc/hue_exporter/config.yml" ] |
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,11 +1,9 @@ | ||
FROM arm32v7/busybox:latest | ||
FROM armhf/alpine:latest | ||
MAINTAINER Richard Mitchell <[email protected]> | ||
|
||
COPY ./build/hue_exporter.arm7 /bin/hue_exporter | ||
COPY ./build/hue_exporter.arm7.musl /bin/hue_exporter | ||
COPY hue_exporter.example.yml /etc/hue_exporter/config.yml | ||
|
||
VOLUME /etc/hue_exporter | ||
|
||
EXPOSE 9366 | ||
ENTRYPOINT [ "/bin/hue_exporter" ] | ||
CMD [ "--config.file=/etc/hue_exporter/config.yml" ] | ||
CMD [ "--config.file=/etc/hue_exporter/config.yml" ] |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM amd64/golang:alpine | ||
|
||
COPY . /go/src/github.com/mitchellrj/hue_exporter | ||
WORKDIR /go/src/github.com/mitchellrj/hue_exporter | ||
|
||
VOLUME /build | ||
CMD go build -o /build/hue_exporter.amd64.musl |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM armhf/alpine:latest | ||
|
||
RUN apk add --no-cache git go musl-dev && mkdir /go | ||
ENV GOPATH=/go | ||
COPY . /go/src/github.com/mitchellrj/hue_exporter | ||
WORKDIR /go/src/github.com/mitchellrj/hue_exporter | ||
|
||
VOLUME /build | ||
CMD go build -o /build/hue_exporter.arm7.musl |
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
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,3 +1,3 @@ | ||
package main | ||
|
||
const VERSION = "0.2.0" | ||
const VERSION = "0.2.1" |