From 2203e7640b7c5d37555ceb26d08870970cf54708 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Thu, 4 Apr 2019 20:39:38 +0900 Subject: test: switch to module from dep completely Signed-off-by: FUJITA Tomonori --- test/lib/base.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/lib/base.py b/test/lib/base.py index b8a40050..6ae99e4c 100644 --- a/test/lib/base.py +++ b/test/lib/base.py @@ -164,10 +164,9 @@ def make_gobgp_ctn(tag='gobgp', local_gobgp_path='', from_image='osrg/quagga'): c = CmdBuffer() c << 'FROM {0}'.format(from_image) - c << 'RUN go get -u github.com/golang/dep/cmd/dep' - c << 'RUN mkdir -p /go/src/github.com/osrg/' - c << 'ADD gobgp /go/src/github.com/osrg/gobgp/' - c << 'RUN cd /go/src/github.com/osrg/gobgp && dep ensure && go install ./cmd/gobgpd ./cmd/gobgp' + c << 'ENV GO111MODULE on' + c << 'ADD gobgp /tmp/gobgp' + c << 'RUN cd /tmp/gobgp && go install ./cmd/gobgpd ./cmd/gobgp' rindex = local_gobgp_path.rindex('gobgp') if rindex < 0: -- cgit v1.2.3