Skip to content

Console Output

+ make -f docker.Makefile lint
Linting...
docker build -t docker-app-lint:jenkins-app-push-pull-cnab-cleanup-1 -f Dockerfile.lint .
Sending build context to Docker daemon  72.17MB

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
77995fba1918: Verifying Checksum
77995fba1918: Download complete
2e793f0ebe8a: Verifying Checksum
2e793f0ebe8a: Download complete
4fe2ade4980c: Verifying Checksum
4fe2ade4980c: Download complete
839ee286fb34: Verifying Checksum
839ee286fb34: Download complete
4fe2ade4980c: Pull complete
2e793f0ebe8a: Pull complete
77995fba1918: Pull complete
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 33a8d17e2a42
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 33a8d17e2a42
 ---> c9c851004ec4
Step 5/13 : ENV GOMETALITER_VERSION=2.0.11
 ---> Running in 7ddeea46f984
Removing intermediate container 7ddeea46f984
 ---> 7fdf4ef48bdc
Step 6/13 : ENV NAKEDRECT_SHA=c0e305a4f690fed163d47628bcc06a6d5655bf92
 ---> Running in 62abad4197c5
Removing intermediate container 62abad4197c5
 ---> a6759a35027c
Step 7/13 : WORKDIR /go/src/github.com/alecthomas/gometalinter
 ---> Running in 5195ed684bd2
Removing intermediate container 5195ed684bd2
 ---> 94c47af311be
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 1a3a962b51ab
  % 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    586      0 --:--:-- --:--:-- --:--:--   586

100 1264k    0 1264k    0     0  1897k      0 --:--:-- --:--:-- --:--:-- 1897k
100 1733k    0 1733k    0     0  2342k      0 --:--:-- --:--:-- --:--:-- 6344k
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 1a3a962b51ab
 ---> 27641fa68896
Step 9/13 : WORKDIR /go/src/github.com/alexkohler/nakedret
 ---> Running in 451416a751c1
Removing intermediate container 451416a751c1
 ---> a37490999153
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 266a5619ea36
Cloning into '/go/src/github.com/alexkohler/nakedret'...
github.com/alexkohler/nakedret
Removing intermediate container 266a5619ea36
 ---> 468af07482e1
Step 11/13 : WORKDIR /go/src/github.com/docker/app
 ---> Running in e0475447acc7
Removing intermediate container e0475447acc7
 ---> 68553a7703ed
Step 12/13 : ENV CGO_ENABLED=0
 ---> Running in e911dc2f0d33
Removing intermediate container e911dc2f0d33
 ---> c6ea4174d490
Step 13/13 : COPY . .
 ---> adc27c9c9d83
Successfully built adc27c9c9d83
Successfully tagged docker-app-lint:jenkins-app-push-pull-cnab-cleanup-1
docker run --rm docker-app-lint:jenkins-app-push-pull-cnab-cleanup-1 make lint
Linting...