You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the gin dependency is not being pulled into the containers at make time:
make
Building Linux binary ready for containerisation...
docker run --rm -it -v "":/gopath -v "/User/Mark/github/aws-samples/ecs-refarch-cloudformation/services/product-service/src":/app -e "GOPATH=/gopath" -w /app golang:1.7 sh -c 'CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o app'
main.go:3:8: cannot find package "github.com/gin-gonic/gin" in any of:
/usr/local/go/src/github.com/gin-gonic/gin (from $GOROOT)
/gopath/src/github.com/gin-gonic/gin (from $GOPATH)
make: *** [binary] Error 1
It looks like the gin dependency is not being pulled into the containers at
maketime:I have the following paths shared in Docker:
Running Docker Version 18.03.1-ce-mac65 (24312) on macOS High Sierra