Skip to content

Commit

Permalink
build: Remove -buildvcs=false from go build command in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TwiN committed Dec 16, 2023
1 parent 9722e88 commit 009f096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 009f096

Please sign in to comment.