Skip to content

Commit

Permalink
Update go version to 1.11.2 for gobgp and telemetry (#2230)
Browse files Browse the repository at this point in the history
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
  • Loading branch information
jipanyang authored and lguohan committed Nov 10, 2018
1 parent 447ae7b commit 47518e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sonic-slave/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions src/gobgp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47518e7

Please sign in to comment.