Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro no Docker build: no matching version (github.com/cuducos/minha-receita/cmd) #18

Closed
fmercurio opened this issue Dec 18, 2020 · 0 comments

Comments

@fmercurio
Copy link

Step 1/12 : FROM golang:1.15.3-buster as build
1.15.3-buster: Pulling from library/golang
e4c3d3e4f7b0: Pull complete
101c41d0463b: Pull complete
8275efcd805f: Pull complete
751620502a7a: Pull complete
aaabf962c4fc: Pull complete
7883babec904: Pull complete
1791d366c848: Pull complete
Digest: sha256:fb04edf20446eed8af9eb6137d02fdf607f47028a0a806131f8b175a09620aab
Status: Downloaded newer image for golang:1.15.3-buster
 ---> 4a581cd6feb1
Step 2/12 : WORKDIR /minha-receita
 ---> Running in 8111a1f54dd8
Removing intermediate container 8111a1f54dd8
 ---> 01c1a1de18f8
Step 3/12 : ADD go.* ./
 ---> 00ccaecb6162
Step 4/12 : ADD main.go .
 ---> 70fded06025f
Step 5/12 : ADD api/ ./api/
 ---> 19a6101ddff0
Step 6/12 : ADD db/ ./db/
 ---> 010197122f19
Step 7/12 : RUN go get && go test ./... && go build -o /usr/bin/minha-receita
 ---> Running in 74a7cefe2a9a
go: finding module for package github.com/cuducos/minha-receita/cmd
go: finding module for package github.com/cuducos/minha-receita/cmd
main.go:7:2: no matching versions for query "latest"
ERROR: Service 'minha-receita' failed to build : The command '/bin/sh -c go get && go test ./... && go build -o /usr/bin/minha-receita' returned a non-zero code: 1      
@cuducos cuducos changed the title ERROR: Service 'minha-receita' failed to build on docker-compose build Erro no Docker build: no matching version (finding module for package github.com/cuducos/minha-receita/cmd) Dec 18, 2020
@cuducos cuducos changed the title Erro no Docker build: no matching version (finding module for package github.com/cuducos/minha-receita/cmd) Erro no Docker build: no matching version (github.com/cuducos/minha-receita/cmd) Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant