Skip to content

Console Output

+ make -f docker.Makefile lint
Linting...
docker build -t docker-app-lint:jenkins-app-PR-687-1 -f Dockerfile.lint .
Sending build context to Docker daemon  75.59MB

Step 1/8 : ARG ALPINE_VERSION=3.10
Step 2/8 : ARG GO_VERSION=1.12.9
Step 3/8 : FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION}
 ---> e0d646523991
Step 4/8 : RUN apk add --no-cache     curl     git     make     coreutils
 ---> Using cache
 ---> 27cc5ae694ee
Step 5/8 : RUN GO111MODULE=on go get     github.com/golangci/golangci-lint/cmd/golangci-lint@v1.16.0     && rm -rf /go/src/* /go/pkg/*
 ---> Using cache
 ---> d7078811d153
Step 6/8 : WORKDIR /go/src/github.com/docker/app
 ---> Using cache
 ---> 15838a00aacc
Step 7/8 : ENV CGO_ENABLED=0
 ---> Using cache
 ---> f351c6758027
Step 8/8 : COPY . .
 ---> 38ee3a9d1689
Successfully built 38ee3a9d1689
Successfully tagged docker-app-lint:jenkins-app-PR-687-1
docker run --rm docker-app-lint:jenkins-app-PR-687-1 make lint
Linting...
internal/commands/cnab.go:296: File is not `goimports`-ed (goimports)
		fmt.Fprintf(dockerCli.Out(),"Pulling from registry…\n")
make: *** [Makefile:77: lint] Error 1
docker.Makefile:110: recipe for target 'lint' failed
make: *** [lint] Error 2