Skip to content

Console Output

+ make -f docker.Makefile lint
Linting...
docker build -t docker-app-lint:jenkins-app-cli-plugin-1 -f Dockerfile.lint .
Sending build context to Docker daemon  72.89MB

Step 1/13 : ARG ALPINE_VERSION=3.8
Step 2/13 : ARG GO_VERSION=1.11.0
Step 3/13 : FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION}
1.11.0-alpine3.8: Pulling from library/golang
4fe2ade4980c: Pulling fs layer
2e793f0ebe8a: Pulling fs layer
77995fba1918: Pulling fs layer
56c81f394011: Pulling fs layer
839ee286fb34: Pulling fs layer
56c81f394011: Waiting
839ee286fb34: Waiting
2e793f0ebe8a: Verifying Checksum
2e793f0ebe8a: Download complete
77995fba1918: Verifying Checksum
77995fba1918: Download complete
4fe2ade4980c: Verifying Checksum
4fe2ade4980c: Download complete
839ee286fb34: Verifying Checksum
839ee286fb34: Download complete
4fe2ade4980c: Pull complete
2e793f0ebe8a: Pull complete
77995fba1918: Pull complete
56c81f394011: Verifying Checksum
56c81f394011: Download complete
56c81f394011: Pull complete
839ee286fb34: Pull complete
Digest: sha256:e8a2481250ec99cf2006004571be569661d01621caa5b87dbe60764570376a7d
Status: Downloaded newer image for golang:1.11.0-alpine3.8
 ---> 233ed4ed14bf
Step 4/13 : RUN apk add --no-cache     curl     git     make     coreutils
 ---> Running in c04977ede2d7
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/11) Installing libattr (2.4.47-r7)
(2/11) Installing libacl (2.2.52-r5)
(3/11) Installing coreutils (8.29-r2)
(4/11) Installing nghttp2-libs (1.32.0-r0)
(5/11) Installing libssh2 (1.8.2-r0)
(6/11) Installing libcurl (7.61.1-r2)
(7/11) Installing curl (7.61.1-r2)
(8/11) Installing expat (2.2.7-r0)
(9/11) Installing pcre2 (10.31-r0)
(10/11) Installing git (2.18.1-r0)
(11/11) Installing make (4.2.1-r2)
Executing busybox-1.28.4-r1.trigger
OK: 21 MiB in 25 packages
Removing intermediate container c04977ede2d7
 ---> 2287ceafe89f
Step 5/13 : ENV GOMETALITER_VERSION=2.0.11
 ---> Running in 8aa8fe748b43
Removing intermediate container 8aa8fe748b43
 ---> b1010fc8219f
Step 6/13 : ENV NAKEDRECT_SHA=c0e305a4f690fed163d47628bcc06a6d5655bf92
 ---> Running in 215336ad310c
Removing intermediate container 215336ad310c
 ---> a43dacfca601
Step 7/13 : WORKDIR /go/src/github.com/alecthomas/gometalinter
 ---> Running in 60ddef87f554
Removing intermediate container 60ddef87f554
 ---> a664aab6e062
Step 8/13 : RUN curl -L https://github.com/alecthomas/gometalinter/archive/v${GOMETALITER_VERSION}.tar.gz | tar xz --strip-components=1     && go build -v -o /usr/local/bin/gometalinter .     && gometalinter --install     && rm -rf /go/src/* /go/pkg/*
 ---> Running in c354cab0615c
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   132    0   132    0     0   1590      0 --:--:-- --:--:-- --:--:--  1590

100 1733k    0 1733k    0     0  2336k      0 --:--:-- --:--:-- --:--:-- 2336k
github.com/alecthomas/gometalinter/vendor/github.com/google/shlex
github.com/alecthomas/gometalinter/vendor/github.com/alecthomas/units
github.com/alecthomas/gometalinter/vendor/github.com/nicksnyder/go-i18n/i18n/language
github.com/alecthomas/gometalinter/vendor/gopkg.in/yaml.v2
github.com/alecthomas/gometalinter/vendor/github.com/nicksnyder/go-i18n/i18n/translation
github.com/alecthomas/gometalinter/vendor/github.com/nicksnyder/go-i18n/i18n/bundle
github.com/alecthomas/gometalinter/vendor/github.com/nicksnyder/go-i18n/i18n
github.com/alecthomas/gometalinter/vendor/gopkg.in/alecthomas/kingpin.v3-unstable
github.com/alecthomas/gometalinter
Installing:
  deadcode
  dupl
  errcheck
  gochecknoglobals
  gochecknoinits
  goconst
  gocyclo
  goimports
  golint
  gosec
  gosimple
  gotype
  gotypex
  ineffassign
  interfacer
  lll
  maligned
  megacheck
  misspell
  nakedret
  safesql
  staticcheck
  structcheck
  unconvert
  unparam
  unused
  varcheck
Removing intermediate container c354cab0615c
 ---> d02e29f8b9fa
Step 9/13 : WORKDIR /go/src/github.com/alexkohler/nakedret
 ---> Running in ba1a985624bf
Removing intermediate container ba1a985624bf
 ---> 4ff1b892a90b
Step 10/13 : RUN git clone https://github.com/alexkohler/nakedret.git /go/src/github.com/alexkohler/nakedret     && go build -v -o /usr/local/bin/nakedret .     && rm -rf /go/src/* /go/pkg/*
 ---> Running in 0547978cdabb
Cloning into '/go/src/github.com/alexkohler/nakedret'...
github.com/alexkohler/nakedret
Removing intermediate container 0547978cdabb
 ---> cc69a817cc0f
Step 11/13 : WORKDIR /go/src/github.com/docker/app
 ---> Running in 74d8411ef62f
Removing intermediate container 74d8411ef62f
 ---> 05b758b3d7f9
Step 12/13 : ENV CGO_ENABLED=0
 ---> Running in fe08278d4ed5
Removing intermediate container fe08278d4ed5
 ---> f3d48cceb03d
Step 13/13 : COPY . .
 ---> 801b0fe52088
Successfully built 801b0fe52088
Successfully tagged docker-app-lint:jenkins-app-cli-plugin-1
docker run --rm docker-app-lint:jenkins-app-cli-plugin-1 make lint
Linting...