Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): error obtaining VCS status: exit status 128 at docker build #990

Merged
merged 1 commit into from Aug 25, 2022

Commits on Aug 24, 2022

  1. 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
    ryukinix authored and zepatrik committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    b7b4d07 View commit details
    Browse the repository at this point in the history