mirror of
https://github.com/prometheus-community/ipmi_exporter
synced 2024-12-23 22:42:14 +00:00
Fixed #59
This commit is contained in:
parent
57c0f966d0
commit
7a7a44580e
@ -1,5 +1,5 @@
|
||||
# Build /go/bin/ipmi_exporter
|
||||
FROM quay.io/prometheus/golang-builder:1.13-base AS builder
|
||||
FROM quay.io/prometheus/golang-builder:1.15-base AS builder
|
||||
ADD . /go/src/github.com/soundcloud/ipmi_exporter/
|
||||
RUN cd /go/src/github.com/soundcloud/ipmi_exporter && make
|
||||
|
||||
@ -10,7 +10,7 @@ RUN apt-get update \
|
||||
&& apt-get install freeipmi-tools -y --no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=builder /go/src/github.com/soundcloud/ipmi_exporter/ipmi_exporter /bin/ipmi_exporter
|
||||
COPY --from=builder /go/src/github.com/soundcloud/ipmi_exporter/ipmi-exporter /bin/ipmi_exporter
|
||||
|
||||
EXPOSE 9290
|
||||
ENTRYPOINT ["/bin/ipmi_exporter"]
|
||||
|
Loading…
Reference in New Issue
Block a user