diff --git a/Dockerfile b/Dockerfile index 1ac9f52..24198d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM golang:alpine as builder RUN apk add --no-cache git -RUN git clone https://github.com/jovial/redfish_exporter /build && cd /build && git checkout feature/log_counts +RUN git clone https://github.com/jovial/redfish_exporter /build && cd /build && git checkout 59d1061fb0370cf72e1f813dfcc425f139be49d7 WORKDIR /build RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o main . FROM scratch