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
{{ message }}
This repository was archived by the owner on Jul 10, 2024. It is now read-only.
When trying to build docker container, the build process fails with
docker build -t xraydocker .
Sending build context to Docker daemon 8.898MB
Step 1/7 : FROM golang:alpine
alpine: Pulling from library/golang
ff3a5c916c92: Already exists
f32d2ea73378: Pull complete
c6678747892c: Pull complete
16b5f22d8b23: Pull complete
Digest: sha256:356aea725be911d52e0f2f0344a17ac3d97c54c74d50b8561f58eae6cc0871bf
Status: Downloaded newer image for golang:alpine
---> 52d894fca6d4
Step 2/7 : RUN apk add --no-cache git make
---> Running in 1b2b08f249a0
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
(1/6) Installing libssh2 (1.8.0-r2)
(2/6) Installing libcurl (7.59.0-r0)
(3/6) Installing expat (2.2.5-r0)
(4/6) Installing pcre2 (10.30-r0)
(5/6) Installing git (2.15.0-r1)
(6/6) Installing make (4.2.1-r0)
Executing busybox-1.27.2-r7.trigger
OK: 19 MiB in 18 packages
Removing intermediate container 1b2b08f249a0
---> 78904c9a833a
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 20eba2238519
# github.com/evilsocket/xray
src/github.com/evilsocket/xray/target.go:116:47: not enough arguments in call to t.ctx.Shodan.GetServicesForHost
have (string, *shodan.HostServicesOptions)
want (context.Context, string, *shodan.HostServicesOptions)
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
Im guessing there were some API changes
The text was updated successfully, but these errors were encountered:
go api func (c *Client) GetServicesForHost(ctx context.Context, ip string, options *HostServicesOptions) (*Host, error)
xray info, err := t.ctx.Shodan.GetServicesForHost(t.Address, &shodan.HostServicesOptions{ History: false, Minify: true, })
I don't know how to change.
When trying to build docker container, the build process fails with
Im guessing there were some API changes
The text was updated successfully, but these errors were encountered: