evilsocket / xray

XRay is a tool for recon, mapping and OSINT gathering from public networks.
GNU General Public License v3.0
2.21k stars 299 forks source link

build the docker error #48

Closed eerondamoon closed 2 years ago

eerondamoon commented 2 years ago

=> ERROR [3/4] RUN go get github.com/evilsocket/xray && cd /go/s 0.3s

[3/4] RUN go get github.com/evilsocket/xray && cd /go/src/github.com/evilsocket/xray/ && make:

5 0.298 go: go.mod file not found in current directory or any parent directory.

5 0.298 'go get' is no longer supported outside a module.

5 0.298 To build and install a command, use 'go install' with a version,

5 0.298 like 'go install example.com/cmd@latest'

5 0.298 For more information, see https://golang.org/doc/go-get-install-deprecation

5 0.298 or run 'go help get' or 'go help install'.


executor failed running [/bin/sh -c go get github.com/evilsocket/xray && cd $GOPATH/src/github.com/evilsocket/xray/ && make]: exit code: 1