Skip to content

Commit

Permalink
[sonic-slave]: Update golang version to 1.8.3 (#810)
Browse files Browse the repository at this point in the history
* Update golang version to latest 1.8.3
  • Loading branch information
pavel-shirshov authored and lguohan committed Jul 15, 2017
1 parent 1176508 commit 6f07223
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sonic-slave/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 6f07223

Please sign in to comment.