Skip to content

Commit 985c866

Browse files
committed
Change dockerfile
1 parent d5f3564 commit 985c866

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docker/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ARG GOARCH="amd64"
77
ARG SHA1="[no-sha]"
88
ARG TAG="[no-tag]"
99

10-
RUN apk --no-cache add ca-certificates
1110
RUN BUILD_DATE=$(date +%F-%T) CGO_ENABLED=0 GOOS=linux GOARCH=$GOARCH go build -o /redis_exporter \
1211
-ldflags "-s -w -extldflags \"-static\" -X main.BuildVersion=$TAG -X main.BuildCommitSha=$SHA1 -X main.BuildDate=$BUILD_DATE" .
1312

0 commit comments

Comments
 (0)