Skip to content

Commit 47518e7

Browse files
jipanyanglguohan
authored andcommitted
Update go version to 1.11.2 for gobgp and telemetry (#2230)
Signed-off-by: Jipan Yang <[email protected]>
1 parent 447ae7b commit 47518e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sonic-slave/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ RUN apt-get update && apt-get install -y \
250250
RUN apt-get -y build-dep linux
251251

252252
# For gobgp build
253-
RUN export VERSION=1.8.3 \
253+
RUN export VERSION=1.11.2 \
254254
&& wget https://storage.googleapis.com/golang/go$VERSION.linux-amd64.tar.gz \
255255
&& tar -C /usr/local -xzf go$VERSION.linux-amd64.tar.gz \
256256
&& echo 'export GOROOT=/usr/local/go' >> /etc/bash.bashrc \

src/gobgp/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ INSTALL := /usr/bin/install
55
all: gobgp gobgpd
66

77
gobgpd:
8-
go get -v github.com/osrg/gobgp/gobgpd
8+
/usr/local/go/bin/go get -v github.com/osrg/gobgp/cmd/gobgpd
99

1010
gobgp:
11-
go get -v github.com/osrg/gobgp/gobgp
11+
/usr/local/go/bin/go get -v github.com/osrg/gobgp/cmd/gobgp
1212

1313
install:
1414
$(INSTALL) -D ${GOPATH}/bin/gobgp $(DESTDIR)/usr/bin/gobgp

0 commit comments

Comments
 (0)