Skip to content

Commit

Permalink
Add label and upgrade step
Browse files Browse the repository at this point in the history
  • Loading branch information
brandond committed Aug 28, 2019
1 parent 0b0f74b commit 6fadc8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM golang:alpine AS builder
RUN apk --no-cache upgrade
RUN apk --no-cache add alpine-sdk
COPY ./ /go/src/github.com/brandond/syslog_ng_exporter/
WORKDIR /go/src/github.com/brandond/syslog_ng_exporter/
RUN make

FROM quay.io/prometheus/busybox:latest
LABEL maintainer="Brad Davidson <[email protected]>"
COPY --from=builder /go/src/github.com/brandond/syslog_ng_exporter/syslog_ng_exporter /bin/syslog_ng_exporter
ENTRYPOINT ["/bin/syslog_ng_exporter"]
EXPOSE 9577

0 comments on commit 6fadc8c

Please sign in to comment.