diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-08-09 23:21:30 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-12 08:04:31 +0900 |
commit | 163a9338fb13b10872889406079be95322cd0f46 (patch) | |
tree | 09fcfca2f49b5a31a7e7f97907fcbf3a09e8eb5e /test | |
parent | 95540c2e8a16274522002a26e106d4397a5c2d7f (diff) |
test: use a cleaner base container golang:1.4 for tests
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test')
-rw-r--r-- | test/scenario_test/lib/base.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scenario_test/lib/base.py b/test/scenario_test/lib/base.py index 7bb7b79f..a9bc1b09 100644 --- a/test/scenario_test/lib/base.py +++ b/test/scenario_test/lib/base.py @@ -67,12 +67,12 @@ def make_gobgp_ctn(tag='gobgp', local_gobgp_path=''): local_gobgp_path = os.getcwd() c = CmdBuffer() - c << 'FROM osrg/gobgp' - c << 'COPY gobgp /go/src/github.com/osrg/gobgp/' + c << 'FROM golang:1.4' + c << 'ADD gobgp /go/src/github.com/osrg/gobgp/' c << 'RUN go get github.com/osrg/gobgp/gobgpd' - c << 'RUN go install -a github.com/osrg/gobgp/gobgpd' + c << 'RUN go install github.com/osrg/gobgp/gobgpd' c << 'RUN go get github.com/osrg/gobgp/gobgp' - c << 'RUN go install -a github.com/osrg/gobgp/gobgp' + c << 'RUN go install github.com/osrg/gobgp/gobgp' rindex = local_gobgp_path.rindex('gobgp') if rindex < 0: |