My team and I are currently working on a Golang backend project that consists of four sub-projects. To test new changes before merging them into the development branch, we use ‘docker compose up.’ However, I’ve encountered errors when running this command, whereas my other team members are able to successfully create a build on their local machines. I would appreciate it if you could review the following error messages and provide guidance on resolving this issue.
ERROR [vr-core builder 5/5] RUN GOOS=linux GOARCH=amd64 GO111MODULE=on go build -ldflags="-s -w" -o core main.go && cp core /core && cp config.yaml /config.yaml 95.9s
...
...
...
=> => # go: downloading golang .org/x/text v0.13.0
=> CANCELED [vr-engine builder 5/5] RUN GOOS=linux GOARCH=amd64 GO111MODULE=on go build -ldflags="-s -w" -o engine main.go && cp engine /engine && cp config.yaml /config.yam 93.5s
=> CANCELED [vr-erp builder 5/5] RUN GOOS=linux GOARCH=amd64 GO111MODULE=on go build -ldflags="-s -w" -o erp main.go && cp erp /erp && cp config.yaml /config.yaml 93.9s
------
> [vr-core builder 5/5] RUN GOOS=linux GOARCH=amd64 GO111MODULE=on go build -ldflags="-s -w" -o core main.go && cp core /core && cp config.yaml /config.yaml:
...
...
...
4.290 go: downloading golang.org/x/crypto v0.14.0
4.298 go: downloading golang.org/x/text v0.13.0
90.51 github.com/aws/aws-sdk-go-v2/service/pinpoint: /usr/local/go/pkg/tool/linux_arm64/compile: signal: killed
------
failed to solve: process "/bin/sh -c GOOS=linux GOARCH=amd64 GO111MODULE=on go build -ldflags=\"-s -w\" -o core main.go && cp core /core && cp config.yaml /config.yaml" did not complete successfully: exit code: 1