This repository was archived by the owner on Jul 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ WORKDIR /go/src/github.com/docker/cli
10
10
11
11
RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
12
12
13
+ ARG GOPROXY
13
14
RUN make binary-osx binary-windows binary && \
14
15
cp build/docker-linux-amd64 /usr/bin/docker
15
16
@@ -22,6 +23,7 @@ ARG DEP_VERSION=v0.5.1
22
23
RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && \
23
24
chmod +x /usr/bin/dep
24
25
ARG GOTESTSUM_VERSION=v0.3.4
26
+ ARG GOPROXY
25
27
RUN mkdir $GOPATH/src/gotest.tools && \
26
28
git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && \
27
29
cd $GOPATH/src/gotest.tools/gotestsum && \
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ pipeline {
9
9
10
10
environment {
11
11
TAG = " ${ env.BUILD_TAG} "
12
+ GOPROXY = " direct"
12
13
}
13
14
14
15
stages {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ E2E_CROSS_CTNR_NAME := $(BIN_NAME)-e2e-cross-$(TAG)
15
15
COV_CTNR_NAME := $(BIN_NAME ) -cov-$(TAG )
16
16
SCHEMAS_CTNR_NAME := $(BIN_NAME ) -schemas-$(TAG )
17
17
18
- BUILD_ARGS=--build-arg=EXPERIMENTAL = $( EXPERIMENTAL ) --build-arg=TAG= $( TAG ) --build-arg=COMMIT= $( COMMIT ) --build-arg=ALPINE_VERSION= $( ALPINE_VERSION )
18
+ BUILD_ARGS=--build-arg =EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY
19
19
20
20
PKG_PATH := /go/src/$(PKG_NAME )
21
21
@@ -128,7 +128,7 @@ vendor: build_dev_image
128
128
# git bash, mingw and msys by default rewrite args that seems to be linux paths and try to expand that to a meaningful windows path
129
129
# we don't want that to happen when mounting paths referring to files located in the container. Thus we use the double "//" prefix that works
130
130
# both on windows, linux and macos
131
- docker run -it --name docker-app-vendoring -v docker-app-vendor-cache://dep-cache -e DEPCACHEDIR=//dep-cache $(DEV_IMAGE_NAME ) sh -c " rm -rf ./vendor && make vendor DEP_ARGS=\" $( DEP_ARGS) \" "
131
+ docker run -it --name docker-app-vendoring -v docker-app-vendor-cache://dep-cache -e DEPCACHEDIR=//dep-cache $(DEV_IMAGE_NAME ) sh -c " rm -rf ./vendor && make vendor DEP_ARGS=\" $( DEP_ARGS) \" "
132
132
rm -rf ./vendor
133
133
docker cp docker-app-vendoring:/go/src/github.com/docker/app/vendor .
134
134
docker cp docker-app-vendoring:/go/src/github.com/docker/app/Gopkg.lock .
You can’t perform that action at this time.
0 commit comments