[BUG] Docker build: "go.mod file not found"
alexbrjo opened this issue · 2 comments
alexbrjo commented
Describe the bug
Color teller in the howto-mutual-tls-file-provided
walkthrough is not building.
> [builder 3/3] RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix nocgo -o /app .:
#8 0.449 go: go.mod file not found in current directory or any parent directory; see 'go help modules'
Platform
EKS, ECS, EC2, etc.
To Reproduce
Steps to reproduce the behavior:
Perform the howto-mutual-tls-file-provided walkthrough up to the ./src/colorteller/deploy.sh
step
Expected behavior
Image should build
Config files, and API responses
If applicable config files and responses from our API.
Additional context
Looks like Go had a release in the last month and the image tag we're using may now be pointing to a newer image. Go 1.16 release notes
suniltheta commented
With #456 update this is not applicable anymore. So closing this issue.