Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 16 commits into from
Jul 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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