diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-04-21 00:16:47 -0700 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-04-21 01:09:03 -0700 |
commit | 633b693ec54d94e6da3fe130c79103901fd36843 (patch) | |
tree | befa02a993e6b363975dc01527d0d1c788f931f0 /test/lib/base.py | |
parent | 7fc795694637c06be52cad97cf7397db0c7431fb (diff) |
test: fix container build for test
fix the regression of commit e429c1aaf4dd85459dfafc1a5efac9d4778370f6
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'test/lib/base.py')
-rw-r--r-- | test/lib/base.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/lib/base.py b/test/lib/base.py index cc8346df..1f523c32 100644 --- a/test/lib/base.py +++ b/test/lib/base.py @@ -103,12 +103,10 @@ 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 github.com/osrg/gobgp/...' - c << 'RUN rm -rf github.com/osrg/gobgp' + c << 'RUN go get -d github.com/osrg/gobgp/...' + c << 'RUN rm -rf /go/src/github.com/osrg/gobgp' c << 'ADD gobgp /go/src/github.com/osrg/gobgp/' c << 'RUN go get github.com/osrg/gobgp/...' - c << 'RUN go install github.com/osrg/gobgp/gobgpd' - c << 'RUN go install github.com/osrg/gobgp/gobgp' rindex = local_gobgp_path.rindex('gobgp') if rindex < 0: |