gometalinter images based on Alpine Linux.
10K+
https://github.com/alecthomas/gometalinter
Dockerfile links:・latest (golang/gometalinter/versions/2.0/Dockerfile)
・2.0 (golang/gometalinter/versions/2.0/Dockerfile)
$ cat << EOF > lint-config.json
{
"Enable": [
"megacheck",
"ineffassign",
"misspell",
"nakedret",
"gas",
"golint",
"goconst",
"unused",
"deadcode",
"vet",
"gosimple"
],
"Vendor": true,
"Deadline": "60s",
"Aggregate": true
}
EOF
$ docker run --rm \
-v $(pwd):/go/src/github.com/your-name/project \
-w /go/src/github.com/your-name/project \
supinf/gometalinter:2.0 --config=lint-config.json ./...
Content type
Image
Digest
Size
177 MB
Last updated
over 7 years ago
docker pull supinf/gometalinter