Installation issue
atastycookie opened this issue · 2 comments
atastycookie commented
Hello @evilsocket
I'm trying to set up the Xray and getting errors like below error.
via Docker image
➜ xray git:(master) docker build -t xraydocker .
Sending build context to Docker daemon 8.92MB
Step 1/7 : FROM golang:alpine
---> 3024b4e742b0
Step 2/7 : RUN apk add --no-cache git make
---> Using cache
---> 30023051ed15
Step 3/7 : RUN go get github.com/evilsocket/xray && cd $GOPATH/src/github.com/evilsocket/xray/ && make get_glide && make install_dependencies && go get -u github.com/jteeuwen/go-bindata/... && make build
---> Running in 1104275da16e
package github.com/moul/http2curl: code in directory /go/src/github.com/moul/http2curl expects import "moul.io/http2curl"
The command '/bin/sh -c go get github.com/evilsocket/xray && cd $GOPATH/src/github.com/evilsocket/xray/ && make get_glide && make install_dependencies && go get -u github.com/jteeuwen/go-bindata/... && make build' returned a non-zero code: 1
via manual
➜ pentest go get github.com/evilsocket/xray
package github.com/moul/http2curl: code in directory /Users/REDACTED/go/src/github.com/moul/http2curl expects import "moul.io/http2curl"
derReineke commented
The main issue I am finding is in the Makefile. It is trying to get Glide, which is a package manager for Go. Go uses Gomod now, so it is not working properly. I am working on seeing if there is a workaround.
evilsocket commented
fixed with 1716557