Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error obtaining VCS status: exit status 128 at docker build
How to replicate the error: `make docker` Previous error: ``` ... long log ---> f394d136bb6c Step 7/24 : ADD proto/go.sum proto/go.sum ---> 7fca7e520cb3 Step 8/24 : ENV CGO_ENABLED 1 ---> Running in ca87bf346155 Removing intermediate container ca87bf346155 ---> af2dbef0c762 Step 9/24 : RUN go mod download ---> Running in 98785997fa9c Removing intermediate container 98785997fa9c ---> f74577fb6d14 Step 10/24 : ADD . . ---> f1cc0ac767f0 Step 11/24 : RUN go build -tags sqlite -o /usr/bin/keto . ---> Running in 913258959d81 error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. The command '/bin/sh -c go build -tags sqlite -o /usr/bin/keto .' returned a non-zero code: 1 ``` This is fixed by setting -buildvcs=false ref: golang/go#49004
- Loading branch information