We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5f3564 commit 985c866Copy full SHA for 985c866
docker/Dockerfile
@@ -7,7 +7,6 @@ ARG GOARCH="amd64"
7
ARG SHA1="[no-sha]"
8
ARG TAG="[no-tag]"
9
10
-RUN apk --no-cache add ca-certificates
11
RUN BUILD_DATE=$(date +%F-%T) CGO_ENABLED=0 GOOS=linux GOARCH=$GOARCH go build -o /redis_exporter \
12
-ldflags "-s -w -extldflags \"-static\" -X main.BuildVersion=$TAG -X main.BuildCommitSha=$SHA1 -X main.BuildDate=$BUILD_DATE" .
13
0 commit comments