Open
Description
Following the steps from the quick start guide - Writing Your First App
cyberquixote@cyberquixote:/mnt/c/Users/cyber/Bytebot-Test/pingpong$ docker-compose up -d pingpong
[+] Building 4.0s (10/14)
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/golang:1.16.4-alpine3.13 1.3s
=> [builder 1/6] FROM docker.io/library/golang:1.16.4-alpine3.13@sha256:0dc62c5cc2d97657c17ff3 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 115B 0.0s
=> CACHED [builder 2/6] RUN adduser -D -g 'bytebot' bytebot 0.0s
=> CACHED [builder 3/6] WORKDIR /app 0.0s
=> CACHED [builder 4/6] COPY . . 0.0s
=> CACHED [builder 5/6] RUN apk add --no-cache git tzdata 0.0s
=> ERROR [builder 6/6] RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -ldflags "-s -w - 2.5s
------
> [builder 6/6] RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -ldflags "-s -w -extldflags '-static'" -o ./opt/bytebot:
#10 1.964 go: downloading github.com/go-redis/redis/v8 v8.11.4
#10 1.964 go: downloading github.com/satori/go.uuid v1.2.0
#10 2.145 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f
#10 2.146 go: downloading github.com/cespare/xxhash/v2 v2.1.2
#10 2.438 pingpong.go:9:2: no required module provides package github.com/bytebot-chat/gateway-discord/model; to add it:
#10 2.438 go get github.com/bytebot-chat/gateway-discord/model
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -ldflags "-s -w -extldflags '-static'" -o ./opt/bytebot]: exit code: 1
When I run go get github.com/bytebot-chat/gateway-discord/model I get the following error:
cyberquixote@cyberquixote:/mnt/c/Users/cyber/Bytebot-Test/pingpong$ go get github.com/bytebot-chat/gateway-discord/model
go get github.com/bytebot-chat/gateway-discord/model: no matching versions for query "upgrade"