Skip to content

Console Output

+ make -f docker.Makefile save-invocation-image
docker build --build-arg=EXPERIMENTAL=off --build-arg=TAG=133a2c6d8e --build-arg=COMMIT=133a2c6 --target=invocation -t docker/cnab-app-base:133a2c6d8e .
Sending build context to Docker daemon  68.79MB

Step 1/37 : ARG ALPINE_VERSION=3.8
Step 2/37 : ARG GO_VERSION=1.11.0
Step 3/37 : FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS build
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: Download complete
4fe2ade4980c: Download complete
77995fba1918: Verifying Checksum
77995fba1918: 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/37 : ARG DOCKERCLI_VERSION=18.03.1-ce
 ---> Running in 91b156096add
Removing intermediate container 91b156096add
 ---> 28f04bc59b83
Step 5/37 : ARG DOCKERCLI_CHANNEL=edge
 ---> Running in d8c4f686a885
Removing intermediate container d8c4f686a885
 ---> af04402a8b0e
Step 6/37 : RUN apk add --no-cache   bash   make  git   curl   util-linux   coreutils   build-base
 ---> Running in 6e1d9fd4cd58
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/43) Upgrading musl (1.1.19-r10 -> 1.1.19-r11)
(2/43) Installing ncurses-terminfo-base (6.1_p20180818-r1)
(3/43) Installing ncurses-terminfo (6.1_p20180818-r1)
(4/43) Installing ncurses-libs (6.1_p20180818-r1)
(5/43) Installing readline (7.0.003-r0)
(6/43) Installing bash (4.4.19-r1)
Executing bash-4.4.19-r1.post-install
(7/43) Installing binutils (2.30-r6)
(8/43) Installing libmagic (5.32-r1)
(9/43) Installing file (5.32-r1)
(10/43) Installing gmp (6.1.2-r1)
(11/43) Installing isl (0.18-r0)
(12/43) Installing libgomp (6.4.0-r9)
(13/43) Installing libatomic (6.4.0-r9)
(14/43) Installing pkgconf (1.5.3-r0)
(15/43) Installing libgcc (6.4.0-r9)
(16/43) Installing mpfr3 (3.1.5-r1)
(17/43) Installing mpc1 (1.0.3-r1)
(18/43) Installing libstdc++ (6.4.0-r9)
(19/43) Installing gcc (6.4.0-r9)
(20/43) Installing musl-dev (1.1.19-r11)
(21/43) Installing libc-dev (0.7.1-r0)
(22/43) Installing g++ (6.4.0-r9)
(23/43) Installing make (4.2.1-r2)
(24/43) Installing fortify-headers (0.9-r0)
(25/43) Installing build-base (0.5-r1)
(26/43) Installing libattr (2.4.47-r7)
(27/43) Installing libacl (2.2.52-r5)
(28/43) Installing coreutils (8.29-r2)
(29/43) Installing nghttp2-libs (1.32.0-r0)
(30/43) Installing libssh2 (1.8.2-r0)
(31/43) Installing libcurl (7.61.1-r2)
(32/43) Installing curl (7.61.1-r2)
(33/43) Installing expat (2.2.7-r0)
(34/43) Installing pcre2 (10.31-r0)
(35/43) Installing git (2.18.1-r0)
(36/43) Upgrading musl-utils (1.1.19-r10 -> 1.1.19-r11)
(37/43) Installing libuuid (2.32-r0)
(38/43) Installing libblkid (2.32-r0)
(39/43) Installing libmount (2.32-r0)
(40/43) Installing libsmartcols (2.32-r0)
(41/43) Installing findmnt (2.32-r0)
(42/43) Installing libfdisk (2.32-r0)
(43/43) Installing util-linux (2.32-r0)
Executing busybox-1.28.4-r1.trigger
OK: 194 MiB in 55 packages
Removing intermediate container 6e1d9fd4cd58
 ---> 6573e08ed60c
Step 7/37 : RUN curl -Ls https://download.docker.com/linux/static/$DOCKERCLI_CHANNEL/x86_64/docker-$DOCKERCLI_VERSION.tgz |   tar -xz docker/docker &&   mv docker/docker /usr/bin/docker
 ---> Running in 08919f521264
Removing intermediate container 08919f521264
 ---> 3b43c6876451
Step 8/37 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in b4fd15d0416e
Removing intermediate container b4fd15d0416e
 ---> c872e1221288
Step 9/37 : FROM build AS dev
 ---> c872e1221288
Step 10/37 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in 5c6290fb2fa9
Removing intermediate container 5c6290fb2fa9
 ---> 984c74a9f2c9
Step 11/37 : ARG DEP_VERSION=v0.5.0
 ---> Running in 74d971011a65
Removing intermediate container 74d971011a65
 ---> 5502a0d345a7
Step 12/37 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 &&     chmod +x /usr/bin/dep
 ---> Running in 9a8302744243
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   605    0   605    0     0   5127      0 --:--:-- --:--:-- --:--:--  5084

100 8513k  100 8513k    0     0  36.3M      0 --:--:-- --:--:-- --:--:-- 36.3M
Removing intermediate container 9a8302744243
 ---> f1bec855b02e
Step 13/37 : RUN go get -d gopkg.in/mjibson/esc.v0 &&     cd /go/src/github.com/mjibson/esc &&     go build -v -o /usr/bin/esc . &&     rm -rf /go/src/* /go/pkg/* /go/bin/*
 ---> Running in 66b0067f4fb0
golang.org/x/tools/internal/semver
github.com/pkg/errors
golang.org/x/tools/go/ast/astutil
golang.org/x/tools/go/internal/gcimporter
golang.org/x/tools/go/internal/packagesdriver
golang.org/x/tools/internal/fastwalk
golang.org/x/tools/internal/gopathwalk
golang.org/x/tools/internal/module
golang.org/x/tools/go/gcexportdata
golang.org/x/tools/go/packages
golang.org/x/tools/internal/imports
golang.org/x/tools/imports
github.com/mjibson/esc/embed
github.com/mjibson/esc
Removing intermediate container 66b0067f4fb0
 ---> 01bf9b0f88b1
Step 14/37 : COPY vendor/github.com/deis/duffle /go/src/github.com/deis/duffle
 ---> 2bd267f341ed
Step 15/37 : RUN (cd /go/src/github.com/deis/duffle &&   make bootstrap build-release &&   ./bin/duffle-linux-amd64 init)
 ---> Running in 8f5821404429
fatal: not a git repository (or any of the parent directories): .git
make: command: Command not found
make: command: Command not found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh

100  5230  100  5230    0     0  66202      0 --:--:-- --:--:-- --:--:-- 66202
ARCH = amd64
OS = linux
Will install into /go/bin
Fetching https://github.com/golang/dep/releases/latest..
Release Tag = v0.5.4
Fetching https://github.com/golang/dep/releases/tag/v0.5.4..
Fetching https://github.com/golang/dep/releases/download/v0.5.4/dep-linux-amd64..
Setting executable permissions.
Moving executable to /go/bin/dep
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b /go/bin
golangci/golangci-lint info checking GitHub for latest tag
golangci/golangci-lint info found version: 1.17.1 for v1.17.1/linux/amd64
golangci/golangci-lint info installed /go/bin/golangci-lint
dep ensure -vendor-only -v
(1/68) Wrote github.com/Nvveen/Gotty@master
(2/68) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18
(3/68) Wrote github.com/docker/libtrust@master
(4/68) Wrote github.com/docker/go-units@v0.3.3
(5/68) Wrote github.com/fsnotify/fsnotify@v1.4.7
(6/68) Wrote github.com/agl/ed25519@master
(7/68) Wrote github.com/beorn7/perks@master
(8/68) Wrote github.com/davecgh/go-spew@v1.1.1
(9/68) Wrote github.com/docker/docker-credential-helpers@v0.6.1
(10/68) Wrote github.com/docker/go@v1.5.1-1
(11/68) Wrote github.com/ghodss/yaml@v1.0.0
(12/68) Wrote github.com/containerd/continuity@master
(13/68) Wrote gopkg.in/yaml.v2@v2.2.1
(14/68) Wrote github.com/docker/go-connections@v0.4.0
(15/68) Wrote github.com/gorilla/context@v1.1.1
(16/68) Wrote github.com/gosuri/uitable@master
(17/68) Wrote github.com/hashicorp/go-version@v1.0.0
(18/68) Wrote github.com/gorilla/mux@v1.6.2
(19/68) Wrote github.com/inconshreveable/mousetrap@v1.0
(20/68) Wrote github.com/kballard/go-shellquote@master
(21/68) Wrote github.com/konsorten/go-windows-terminal-sequences@master
(22/68) Wrote github.com/magiconair/properties@v1.8.0
(23/68) Wrote github.com/hashicorp/hcl@v1.0.0
(24/68) Wrote github.com/mattn/go-isatty@v0.0.4
(25/68) Wrote github.com/mattn/go-colorable@v0.0.9
(26/68) Wrote github.com/mattn/go-runewidth@v0.0.3
(27/68) Wrote github.com/mgutz/ansi@master
(28/68) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1
(29/68) Wrote github.com/mitchellh/mapstructure@v1.1.1
(30/68) Wrote github.com/miekg/pkcs11@master
(31/68) Wrote github.com/oklog/ulid@v1.3.0
(32/68) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1
(33/68) Wrote github.com/peterhellberg/link@v1.0.0
(34/68) Wrote github.com/pelletier/go-toml@v1.2.0
(35/68) Wrote github.com/pkg/errors@v0.8.0
(36/68) Wrote github.com/docker/distribution@83389a148052d74ac602f5f1d62f86ff2f3c4aa5
(37/68) Wrote github.com/pmezard/go-difflib@v1.0.0
(38/68) Wrote github.com/opencontainers/image-spec@v1.0.1
(39/68) Wrote github.com/prometheus/client_model@master
(40/68) Wrote github.com/renstrom/fuzzysearch@v1.0.1
(41/68) Wrote github.com/prometheus/procfs@master
(42/68) Wrote github.com/prometheus/client_golang@v0.8.0
(43/68) Wrote github.com/spf13/cast@v1.2.0
(44/68) Wrote github.com/spf13/afero@v1.1.2
(45/68) Wrote github.com/prometheus/common@master
(46/68) Wrote github.com/sirupsen/logrus@v1.1.0
(47/68) Wrote github.com/spf13/jwalterweatherman@v1.0.0
(48/68) Wrote github.com/spf13/pflag@v1.0.2
(49/68) Wrote github.com/technosophos/moniker@0.2.0
(50/68) Wrote github.com/spf13/cobra@v0.0.3
(51/68) Wrote github.com/spf13/viper@v1.2.1
(52/68) Wrote github.com/stretchr/testify@v1.2.2
(53/68) Wrote github.com/Masterminds/semver@v1.4.2
(54/68) Wrote github.com/Azure/go-ansiterm@master
(55/68) Wrote github.com/golang/protobuf@v1.2.0
(56/68) Wrote golang.org/x/time@master
(57/68) Wrote github.com/Microsoft/go-winio@v0.4.11
(58/68) Wrote github.com/opencontainers/runc@v0.1.1
(59/68) Wrote gopkg.in/AlecAivazis/survey.v1@v1.6.3
(60/68) Wrote golang.org/x/crypto@master
(61/68) Wrote golang.org/x/net@master
(62/68) Wrote github.com/genuinetools/reg@v0.16.0
(63/68) Wrote golang.org/x/sys@master
(64/68) Wrote golang.org/x/text@v0.3.0
(65/68) Wrote github.com/docker/cli (from github.com/simonferquel/cli)@docker-app-fork
(66/68) Wrote github.com/theupdateframework/notary@v0.6.1
(67/68) Wrote github.com/gogo/protobuf@v1.1.1
(68/68) Wrote github.com/docker/docker@master
building linux
building windows
building darwin
==> The following new directories will be created:
/root/.duffle
/root/.duffle/bundles
/root/.duffle/logs
/root/.duffle/plugins
/root/.duffle/claims
/root/.duffle/credentials
==> The following new files will be created:
/root/.duffle/repositories.json
==> Generating a new secret keyring at /root/.duffle/secret.ring
==> Generating a new signing key with ID user <@8f5821404429>
==> Generating a new public keyring at /root/.duffle/public.ring
Removing intermediate container 8f5821404429
 ---> 0c3acc024a34
Step 16/37 : COPY . .
 ---> 0acecf553875
Step 17/37 : FROM dev AS cross
 ---> 0acecf553875
Step 18/37 : ARG EXPERIMENTAL="off"
 ---> Running in 4a71fb2cddbb
Removing intermediate container 4a71fb2cddbb
 ---> 674ff09f8ac4
Step 19/37 : ARG TAG
 ---> Running in 6c00911c278d
Removing intermediate container 6c00911c278d
 ---> 832631bd57d2
Step 20/37 : ARG COMMIT
 ---> Running in 330d25928cef
Removing intermediate container 330d25928cef
 ---> d5133a585111
Step 21/37 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} COMMIT=${COMMIT} cross
 ---> Running in c50669f913ee
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=133a2c6 -X github.com/docker/app/internal.Version=133a2c6d8e -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T17:04:22Z" -o bin/docker-app-linux ./cmd/docker-app
GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=133a2c6 -X github.com/docker/app/internal.Version=133a2c6d8e -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T17:04:22Z" -o bin/docker-app-darwin ./cmd/docker-app
GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=133a2c6 -X github.com/docker/app/internal.Version=133a2c6d8e -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T17:04:22Z" -o bin/docker-app-windows.exe ./cmd/docker-app
Removing intermediate container c50669f913ee
 ---> 99ad90568a2e
Step 22/37 : FROM cross AS e2e-cross
 ---> 99ad90568a2e
Step 23/37 : ARG EXPERIMENTAL="off"
 ---> Running in 9a09b7f51082
Removing intermediate container 9a09b7f51082
 ---> cfa3b95b7aee
Step 24/37 : ARG TAG
 ---> Running in 2193f8a528aa
Removing intermediate container 2193f8a528aa
 ---> 011d7e6d5bcb
Step 25/37 : ARG COMMIT
 ---> Running in 1e7e9c92c710
Removing intermediate container 1e7e9c92c710
 ---> e2eeda26ae19
Step 26/37 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} COMMIT=${COMMIT} e2e-cross
 ---> Running in 12274cd5e7fc
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=133a2c6 -X github.com/docker/app/internal.Version=133a2c6d8e -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T17:06:15Z" -o bin/docker-app-linux ./cmd/docker-app
GOOS=linux CGO_ENABLED=0 go test -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=133a2c6 -X github.com/docker/app/internal.Version=133a2c6d8e -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T17:06:15Z" -c -o bin/docker-app-e2e-linux ./e2e/
GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=133a2c6 -X github.com/docker/app/internal.Version=133a2c6d8e -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T17:06:15Z" -o bin/docker-app-darwin ./cmd/docker-app
GOOS=darwin CGO_ENABLED=0 go test -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=133a2c6 -X github.com/docker/app/internal.Version=133a2c6d8e -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T17:06:15Z" -c -o bin/docker-app-e2e-darwin ./e2e/
GOOS=windows CGO_ENABLED=0 go test -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=133a2c6 -X github.com/docker/app/internal.Version=133a2c6d8e -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T17:06:15Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/
Removing intermediate container 12274cd5e7fc
 ---> ba11837075af
Step 27/37 : FROM build AS invocation-build
 ---> c872e1221288
Step 28/37 : COPY . .
 ---> 111635024f17
Step 29/37 : ARG EXPERIMENTAL="off"
 ---> Running in a1dc6d961e40
Removing intermediate container a1dc6d961e40
 ---> 808ce8a09be9
Step 30/37 : ARG TAG
 ---> Running in 3a359a0ed6c6
Removing intermediate container 3a359a0ed6c6
 ---> 077399d0794e
Step 31/37 : ARG COMMIT
 ---> Running in d343b72bff3b
Removing intermediate container d343b72bff3b
 ---> 23658a970e22
Step 32/37 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} COMMIT=${COMMIT} bin/run
 ---> Running in 167af8fc3403
CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=133a2c6 -X github.com/docker/app/internal.Version=133a2c6d8e -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T17:06:33Z" -o bin/run ./cmd/run
Removing intermediate container 167af8fc3403
 ---> 6e3fe41c2b99
Step 33/37 : FROM alpine:${ALPINE_VERSION} AS invocation
3.8: Pulling from library/alpine
c87736221ed0: Pulling fs layer
c87736221ed0: Verifying Checksum
c87736221ed0: Download complete
c87736221ed0: Pull complete
Digest: sha256:04696b491e0cc3c58a75bace8941c14c924b9f313b03ce5029ebbc040ed9dcd9
Status: Downloaded newer image for alpine:3.8
 ---> dac705114996
Step 34/37 : RUN apk add --no-cache ca-certificates
 ---> Running in a7822f38fe82
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/1) Installing ca-certificates (20190108-r0)
Executing busybox-1.28.4-r3.trigger
Executing ca-certificates-20190108-r0.trigger
OK: 5 MiB in 14 packages
Removing intermediate container a7822f38fe82
 ---> fd3fb91d43a2
Step 35/37 : COPY --from=invocation-build /go/src/github.com/docker/app/bin/run /cnab/app/run
 ---> 1b845d1344fe
Step 36/37 : WORKDIR /cnab/app
 ---> Running in d2fc726c2b9c
Removing intermediate container d2fc726c2b9c
 ---> 5c4e1cdbb112
Step 37/37 : CMD /cnab/app/run
 ---> Running in ccfd0c5d5f7c
Removing intermediate container ccfd0c5d5f7c
 ---> f091da49f5eb
Successfully built f091da49f5eb
Successfully tagged docker/cnab-app-base:133a2c6d8e
docker save docker/cnab-app-base:133a2c6d8e -o /tmp/invocation-image-133a2c6d8e.tar