Update go version to 1.11.2 for gobgp and telemetry (#2230)

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
This commit is contained in:
Jipan Yang 2018-11-09 21:56:39 -08:00 committed by lguohan
parent 447ae7b61a
commit 47518e75d6
2 changed files with 3 additions and 3 deletions

View File

@ -250,7 +250,7 @@ RUN apt-get update && apt-get install -y \
RUN apt-get -y build-dep linux
# For gobgp build
RUN export VERSION=1.8.3 \
RUN export VERSION=1.11.2 \
&& wget https://storage.googleapis.com/golang/go$VERSION.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf go$VERSION.linux-amd64.tar.gz \
&& echo 'export GOROOT=/usr/local/go' >> /etc/bash.bashrc \

View File

@ -5,10 +5,10 @@ INSTALL := /usr/bin/install
all: gobgp gobgpd
gobgpd:
go get -v github.com/osrg/gobgp/gobgpd
/usr/local/go/bin/go get -v github.com/osrg/gobgp/cmd/gobgpd
gobgp:
go get -v github.com/osrg/gobgp/gobgp
/usr/local/go/bin/go get -v github.com/osrg/gobgp/cmd/gobgp
install:
$(INSTALL) -D ${GOPATH}/bin/gobgp $(DESTDIR)/usr/bin/gobgp