[sonic-slave]: Update golang version to 1.8.3 (#810)

* Update golang version to latest 1.8.3
This commit is contained in:
pavel-shirshov 2017-07-14 23:53:44 -07:00 committed by lguohan
parent 1176508858
commit 6f0722322c

View File

@ -206,9 +206,11 @@ RUN apt-get update && apt-get install -y \
RUN apt-get -y build-dep linux
# For gobgp build
RUN apt-get -yt jessie-backports install \
golang-go \
golang-github-golang-mock-dev
RUN export VERSION=1.8.3 \
&& 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 \
&& echo 'export PATH=$PATH:$GOROOT/bin' >> /etc/bash.bashrc
# For p4 build
RUN pip install \