Skip to content

Commit 009f096

Browse files
committed
build: Remove -buildvcs=false from go build command in Dockerfile
1 parent 9722e88 commit 009f096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM golang:alpine AS builder
22
WORKDIR /app
33
ADD . ./
4-
RUN CGO_ENABLED=0 GOOS=linux go build -buildvcs=false -a -installsuffix cgo -o k8s-ttl-controller .
4+
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o k8s-ttl-controller .
55
RUN apk --update add ca-certificates
66

77
FROM scratch

0 commit comments

Comments
 (0)