Skip to content

Console Output

+ make -f docker.Makefile cli-cross cross e2e-cross tars
docker build --build-arg TAG=jenkins-app-PR-713-4 --build-arg COMMIT=0abe6b4d --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=build -t docker-app-cli:jenkins-app-PR-713-4 .
Sending build context to Docker daemon   76.2MB

Step 1/8 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/8 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> 59f658222a26
Step 3/8 : RUN apt-get install -y -q --no-install-recommends   coreutils   util-linux   uuid-runtime
 ---> Using cache
 ---> e13a2a17d6f0
Step 4/8 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 959763ce90f5
Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 62661e5ec1cc
Step 6/8 : ARG GOPROXY
 ---> Using cache
 ---> 9d81d38b7ab3
Step 7/8 : RUN make binary-osx binary-windows binary &&   cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 945514f3a58f
Step 8/8 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 1695fb7e9afe
[Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed
Successfully built 1695fb7e9afe
Successfully tagged docker-app-cli:jenkins-app-PR-713-4
docker create --name docker-app-cli-jenkins-app-PR-713-4 docker-app-cli:jenkins-app-PR-713-4 noop
cca4d5d50feb492eaaad4b5db33a9454ae38bd5f7e7799cdfff0d23dcd11bf00
docker cp docker-app-cli-jenkins-app-PR-713-4:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux
docker cp docker-app-cli-jenkins-app-PR-713-4:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin
docker cp docker-app-cli-jenkins-app-PR-713-4:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe
docker rm docker-app-cli-jenkins-app-PR-713-4
docker-app-cli-jenkins-app-PR-713-4
docker build --build-arg TAG=jenkins-app-PR-713-4 --build-arg COMMIT=0abe6b4d --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-713-4 .
Sending build context to Docker daemon   76.2MB

Step 1/21 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/21 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> 59f658222a26
Step 3/21 : RUN apt-get install -y -q --no-install-recommends   coreutils   util-linux   uuid-runtime
 ---> Using cache
 ---> e13a2a17d6f0
Step 4/21 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 959763ce90f5
Step 5/21 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 62661e5ec1cc
Step 6/21 : ARG GOPROXY
 ---> Using cache
 ---> 9d81d38b7ab3
Step 7/21 : RUN make binary-osx binary-windows binary &&   cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 945514f3a58f
Step 8/21 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 1695fb7e9afe
Step 9/21 : FROM build AS dev
 ---> 1695fb7e9afe
Step 10/21 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> 951d36cf1010
Step 11/21 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> b8bb07ffa2b9
Step 12/21 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 &&   chmod +x /usr/bin/dep
 ---> Using cache
 ---> 725266358196
Step 13/21 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> bda3df79ada2
Step 14/21 : ARG GOPROXY
 ---> Using cache
 ---> 4536c9a75dfd
Step 15/21 : RUN mkdir $GOPATH/src/gotest.tools &&   git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum &&   cd $GOPATH/src/gotest.tools/gotestsum &&   git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION &&   GO111MODULE=on GOOS=linux   go build -o /usr/local/bin/gotestsum-linux       gotest.tools/gotestsum &&   GO111MODULE=on GOOS=darwin  go build -o /usr/local/bin/gotestsum-darwin      gotest.tools/gotestsum &&   GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum &&   ln -s gotestsum-linux /usr/local/bin/gotestsum
 ---> Using cache
 ---> 092a5eefbcf4
Step 16/21 : RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux       cmd/test2json &&   GOOS=darwin  go build -o /usr/local/bin/test2json-darwin      cmd/test2json &&   GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json
 ---> Using cache
 ---> e36657b01469
Step 17/21 : 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/*
 ---> Using cache
 ---> 87ce2235f40c
Step 18/21 : COPY . .
 ---> b59415667f7c
Step 19/21 : FROM dev AS cross
 ---> b59415667f7c
Step 20/21 : ARG TAG="unknown"
 ---> Running in 12d8ea4cf45f
Removing intermediate container 12d8ea4cf45f
 ---> 57e721f27e97
Step 21/21 : RUN make TAG=${TAG} cross
 ---> Running in 66a9c1969d45
GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=0abe6b4d -X github.com/docker/app/internal.Version=jenkins-app-PR-713-4 -X github.com/docker/app/internal.BuildTime=2019-10-25T13:20:55Z" -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=0abe6b4d -X github.com/docker/app/internal.Version=jenkins-app-PR-713-4 -X github.com/docker/app/internal.BuildTime=2019-10-25T13:20:55Z" -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=0abe6b4d -X github.com/docker/app/internal.Version=jenkins-app-PR-713-4 -X github.com/docker/app/internal.BuildTime=2019-10-25T13:20:55Z" -o bin/docker-app-windows.exe ./cmd/docker-app
Removing intermediate container 66a9c1969d45
 ---> 0e867d57a0d6
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built 0e867d57a0d6
Successfully tagged docker-app-cross:jenkins-app-PR-713-4
docker create --name docker-app-cross-jenkins-app-PR-713-4 docker-app-cross:jenkins-app-PR-713-4 noop
d17f11011c6e4fcfe1b6e6a82ce09b0de982af74285133b8abec21296cd941de
docker cp docker-app-cross-jenkins-app-PR-713-4:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux
docker cp docker-app-cross-jenkins-app-PR-713-4:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin
docker cp docker-app-cross-jenkins-app-PR-713-4:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe
docker rm docker-app-cross-jenkins-app-PR-713-4
docker-app-cross-jenkins-app-PR-713-4
docker build --build-arg TAG=jenkins-app-PR-713-4 --build-arg COMMIT=0abe6b4d --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-713-4  .
Sending build context to Docker daemon   76.2MB

Step 1/24 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/24 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> 59f658222a26
Step 3/24 : RUN apt-get install -y -q --no-install-recommends   coreutils   util-linux   uuid-runtime
 ---> Using cache
 ---> e13a2a17d6f0
Step 4/24 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 959763ce90f5
Step 5/24 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 62661e5ec1cc
Step 6/24 : ARG GOPROXY
 ---> Using cache
 ---> 9d81d38b7ab3
Step 7/24 : RUN make binary-osx binary-windows binary &&   cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 945514f3a58f
Step 8/24 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 1695fb7e9afe
Step 9/24 : FROM build AS dev
 ---> 1695fb7e9afe
Step 10/24 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> 951d36cf1010
Step 11/24 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> b8bb07ffa2b9
Step 12/24 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 &&   chmod +x /usr/bin/dep
 ---> Using cache
 ---> 725266358196
Step 13/24 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> bda3df79ada2
Step 14/24 : ARG GOPROXY
 ---> Using cache
 ---> 4536c9a75dfd
Step 15/24 : RUN mkdir $GOPATH/src/gotest.tools &&   git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum &&   cd $GOPATH/src/gotest.tools/gotestsum &&   git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION &&   GO111MODULE=on GOOS=linux   go build -o /usr/local/bin/gotestsum-linux       gotest.tools/gotestsum &&   GO111MODULE=on GOOS=darwin  go build -o /usr/local/bin/gotestsum-darwin      gotest.tools/gotestsum &&   GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum &&   ln -s gotestsum-linux /usr/local/bin/gotestsum
 ---> Using cache
 ---> 092a5eefbcf4
Step 16/24 : RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux       cmd/test2json &&   GOOS=darwin  go build -o /usr/local/bin/test2json-darwin      cmd/test2json &&   GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json
 ---> Using cache
 ---> e36657b01469
Step 17/24 : 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/*
 ---> Using cache
 ---> 87ce2235f40c
Step 18/24 : COPY . .
 ---> Using cache
 ---> b59415667f7c
Step 19/24 : FROM dev AS cross
 ---> b59415667f7c
Step 20/24 : ARG TAG="unknown"
 ---> Using cache
 ---> 57e721f27e97
Step 21/24 : RUN make TAG=${TAG} cross
 ---> Using cache
 ---> 0e867d57a0d6
Step 22/24 : FROM cross AS e2e-cross
 ---> 0e867d57a0d6
Step 23/24 : ARG TAG="unknown"
 ---> Running in 2ccbf7d848af
Removing intermediate container 2ccbf7d848af
 ---> cbb2b7347ebf
Step 24/24 : RUN make TAG=${TAG} e2e-cross
 ---> Running in 2869f1cbd88f
GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=0abe6b4d -X github.com/docker/app/internal.Version=jenkins-app-PR-713-4 -X github.com/docker/app/internal.BuildTime=2019-10-25T13:23:55Z" -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=0abe6b4d -X github.com/docker/app/internal.Version=jenkins-app-PR-713-4 -X github.com/docker/app/internal.BuildTime=2019-10-25T13:23:55Z" -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=0abe6b4d -X github.com/docker/app/internal.Version=jenkins-app-PR-713-4 -X github.com/docker/app/internal.BuildTime=2019-10-25T13:23:55Z" -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=0abe6b4d -X github.com/docker/app/internal.Version=jenkins-app-PR-713-4 -X github.com/docker/app/internal.BuildTime=2019-10-25T13:23:55Z" -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=0abe6b4d -X github.com/docker/app/internal.Version=jenkins-app-PR-713-4 -X github.com/docker/app/internal.BuildTime=2019-10-25T13:23:55Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/
Removing intermediate container 2869f1cbd88f
 ---> 67dd88d3552f
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built 67dd88d3552f
Successfully tagged docker-app-e2e-cross:jenkins-app-PR-713-4
docker create --name docker-app-e2e-cross-jenkins-app-PR-713-4 docker-app-e2e-cross:jenkins-app-PR-713-4 noop
325353d95473ea930e4bdb63a7adb019b377dccbe472bac290319ec09e59bc02
docker cp docker-app-e2e-cross-jenkins-app-PR-713-4:/go/src/github.com/docker/app/bin/docker-app-e2e-linux bin/docker-app-e2e-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-713-4:/go/src/github.com/docker/app/bin/docker-app-e2e-darwin bin/docker-app-e2e-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-713-4:/go/src/github.com/docker/app/bin/docker-app-e2e-windows.exe bin/docker-app-e2e-windows.exe
docker cp docker-app-e2e-cross-jenkins-app-PR-713-4:/usr/local/bin/gotestsum-linux bin/gotestsum-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-713-4:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-713-4:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe
docker cp docker-app-e2e-cross-jenkins-app-PR-713-4:/usr/local/bin/test2json-linux bin/test2json-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-713-4:/usr/local/bin/test2json-darwin bin/test2json-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-713-4:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe
docker rm docker-app-e2e-cross-jenkins-app-PR-713-4
docker-app-e2e-cross-jenkins-app-PR-713-4
tar --transform='flags=r;s|docker-app-linux|docker-app-plugin-linux|' -czf bin/docker-app-linux.tar.gz -C bin docker-app-linux
tar czf bin/docker-app-e2e-linux.tar.gz -C bin docker-app-e2e-linux
tar --transform='flags=r;s|docker-app-darwin|docker-app-plugin-darwin|' -czf bin/docker-app-darwin.tar.gz -C bin docker-app-darwin
tar czf bin/docker-app-e2e-darwin.tar.gz -C bin docker-app-e2e-darwin
tar --transform='flags=r;s|docker-app-windows|docker-app-plugin-windows|' -czf bin/docker-app-windows.tar.gz -C bin docker-app-windows.exe
tar czf bin/docker-app-e2e-windows.tar.gz -C bin docker-app-e2e-windows.exe