Hello! I am trying to build a docker image from scratch from the provided Dockerfile in the repo but an error is thrown upon building:
=> ERROR [builder 5/5] RUN go install -a -trimpath -ldflags “-s -w -X go.k6.io/k6/lib/consts.VersionDetails=$(date -u +”%FT%T%z")/$(git describe --tags --always --long --dirty)" 0.3s
[builder 5/5] RUN go install -a -trimpath -ldflags “-s -w -X go.k6.io/k6/lib/consts.VersionDetails=$(date -u +”%FT%T%z")/$(git describe --tags --always --long --dirty)":
#12 0.287 fatal: not a git repository (or any of the parent directories): .git
#12 0.290 go: go.mod file not found in current directory or any parent directory; see ‘go help modules’
executor failed running [/bin/sh -c go install -a -trimpath -ldflags “-s -w -X go.k6.io/k6/lib/consts.VersionDetails=$(date -u +”%FT%T%z")/$(git describe --tags --always --long --dirty)"]: exit code: 1