From 009f096a0db7a61b3f3b37168d269ff35ec8db96 Mon Sep 17 00:00:00 2001 From: TwiN Date: Fri, 15 Dec 2023 19:38:04 -0500 Subject: [PATCH] build: Remove -buildvcs=false from go build command in Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 12638cd..a560e31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:alpine AS builder WORKDIR /app ADD . ./ -RUN CGO_ENABLED=0 GOOS=linux go build -buildvcs=false -a -installsuffix cgo -o k8s-ttl-controller . +RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o k8s-ttl-controller . RUN apk --update add ca-certificates FROM scratch