Skip to content

Failed to setup vuls docker #170

Closed
Closed
@akmalhisyam

Description

@akmalhisyam

Running docker-compose up -d failed with this errors:

# github.com/future-architect/vuls/report
report/slack.go:209: cveInfo.CveDetail.CweID undefined (type "github.com/future-architect/vuls/vendor/github.com/kotakanbe/go-cve-dictionary/models".CveDetail has no field or method CweID)
report/tui.go:694: cveInfo.CveDetail.CweID undefined (type "github.com/future-architect/vuls/vendor/github.com/kotakanbe/go-cve-dictionary/models".CveDetail has no field or method CweID)
report/util.go:229: cveDetail.CweID undefined (type "github.com/future-architect/vuls/vendor/github.com/kotakanbe/go-cve-dictionary/models".CveDetail has no field or method CweID)
report/util.go:230: cveDetail.CweID undefined (type "github.com/future-architect/vuls/vendor/github.com/kotakanbe/go-cve-dictionary/models".CveDetail has no field or method CweID)
report/util.go:272: cveDetail.CweID undefined (type "github.com/future-architect/vuls/vendor/github.com/kotakanbe/go-cve-dictionary/models".CveDetail has no field or method CweID)
ERROR: Service 'vuls' failed to build: The command '/bin/sh -c go get -v -d github.com/future-architect/vuls     && cd $GOPATH/src/github.com/future-architect/vuls     && glide install     && go install' returned a non-zero code: 2

This is my dependencies version

root@asdf:~# go version
go version go1.6 linux/amd64
root@asdf:~# docker version
Client:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:        Thu Aug 18 05:22:43 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:        Thu Aug 18 05:22:43 2016
 OS/Arch:      linux/amd64
root@asdf:~# docker-compose --version
docker-compose version 1.8.0, build f3628c7
root@asdf:~# git version
git version 2.9.3
root@asdf:~# cat /etc/issue
Ubuntu 14.04.4 LTS \n \l

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions