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
> [3/5] RUN go get gopkg.in/gorethink/gorethink.v4 && go install gopkg.in/gorethink/gorethink.v4:
#5 0.368 go: go.mod file not found in current directory or any parent directory.
#5 0.368 'go get' is no longer supported outside a module.
#5 0.368 To build and install a command, use 'go install' with a version,
#5 0.368 like 'go install example.com/cmd@latest'
#5 0.368 For more information, see https://golang.org/doc/go-get-install-deprecation
#5 0.368 or run 'go help get' or 'go help install'.
Instead we can remove line 4 RUN go get gopkg.in/rethinkdb/rethinkdb-go.v6 from the Dockerfile and let Go do its own dependency resolution.
Additionally, the older version of rethinkdb no longer works. Use rethinkdb:latest in the docker-compose.yml. instead of rethinkdb:2.3.
If you're on windows, make sure you save your files with LF instead of CRLF, otherwise bash will dislike you.
go get is deprecated, we use go install instead apparently. I've not used go before but it seems to work when i replace go get with go install and do some cd beforehand.
The text was updated successfully, but these errors were encountered:
Currently, running
docker-compose up
will yieldInstead we can remove line 4
RUN go get gopkg.in/rethinkdb/rethinkdb-go.v6
from the Dockerfile and let Go do its own dependency resolution.Additionally, the older version of rethinkdb no longer works. Use
rethinkdb:latest
in the docker-compose.yml. instead ofrethinkdb:2.3
.If you're on windows, make sure you save your files with LF instead of CRLF, otherwise bash will dislike you.
go get
is deprecated, we usego install
instead apparently. I've not used go before but it seems to work when i replacego get
withgo install
and do somecd
beforehand.The text was updated successfully, but these errors were encountered: