diff --git a/Dockerfile b/Dockerfile index 1ac9f52..9e615c9 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/jenningsloy318/redfish_exporter.git /build && cd /build && git checkout e28371ddb8606720b26290df1ee258e350d0f7dd WORKDIR /build RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o main . FROM scratch