librespeed / librespeed/speedtest-go
Docker image build failed with 'error obtaining VCS status'
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 875
- Forks
- 183
- PR merge metrics
- No merged PRs in 30d
Description
Description
Using the provided Dockerfile to build image failed with the following error:
`ERROR [build_base 7/7] RUN go build -ldflags "-w -s" 7.1s
[build_base 7/7] RUN go build -ldflags "-w -s" -trimpath -o speedtest .:
#0 6.495 error obtaining VCS status: exit status 128
#0 6.495 Use -buildvcs=false to disable VCS stamping.
failed to solve: executor failed running [/bin/sh -c go build -ldflags "-w -s" -trimpath -o speedtest .]: exit code: 1`
Server
v1.1.5
Client
Can't be accessed since build fail
Steps to reproduce
- Clone this repository and build image using provided Dockerfile without modification
- Image building proceed until
build_base 7/7 - Failed with logs provided above
Expected behaviour
Successfully build the image
Temporary Fix
Using golang-1.17 instead of golang-1.18 worked
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided Dockerfile and reproduce the failure at the build_base step using the reported Go 1.18 image, then compare it with the working golang-1.17 image. Investigate the reported VCS status error and verify that the Docker image builds successfully without modification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100