Open mardijker opened 2 years ago
Using the provided Dockerfile to build image failed with the following error:
[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`
[build_base 7/7] RUN go build -ldflags "-w -s" -trimpath -o speedtest .:
failed to solve: executor failed running [/bin/sh -c go build -ldflags "-w -s" -trimpath -o speedtest .]: exit code: 1`
v1.1.5
Can't be accessed since build fail
build_base 7/7
Successfully build the image
Using golang-1.17 instead of golang-1.18 worked
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
Server
v1.1.5
Client
Can't be accessed since build fail
Steps to reproduce
build_base 7/7
Expected behaviour
Successfully build the image
Temporary Fix
Using golang-1.17 instead of golang-1.18 worked