From 163a9338fb13b10872889406079be95322cd0f46 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Sun, 9 Aug 2015 23:21:30 +0900 Subject: test: use a cleaner base container golang:1.4 for tests Signed-off-by: ISHIDA Wataru --- test/scenario_test/lib/base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') 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: -- cgit v1.2.3