bump up Golang version to 1.9.0

This commit is contained in:
Anton Kaliaev 2017-09-25 18:53:17 +03:00 committed by Zach Ramsay
parent 7448c4adde
commit 2d6bc8d7d7
3 changed files with 5 additions and 5 deletions

6
Vagrantfile vendored
View File

@ -17,11 +17,11 @@ Vagrant.configure("2") do |config|
usermod -a -G docker vagrant
apt-get autoremove -y
curl -O https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
tar -xvf go1.8.linux-amd64.tar.gz
curl -O https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz
tar -xvf go1.9.linux-amd64.tar.gz
rm -rf /usr/local/go
mv go /usr/local
rm -f go1.8.linux-amd64.tar.gz
rm -f go1.9.linux-amd64.tar.gz
mkdir -p /home/vagrant/go/bin
echo 'export PATH=$PATH:/usr/local/go/bin:/home/vagrant/go/bin' >> /home/vagrant/.bash_profile
echo 'export GOPATH=/home/vagrant/go' >> /home/vagrant/.bash_profile

View File

@ -1,4 +1,4 @@
FROM golang:1.8.3
FROM golang:1.9.0
RUN apt-get update && apt-get install -y --no-install-recommends \
zip \

View File

@ -1,4 +1,4 @@
FROM golang:1.8.3
FROM golang:1.9.0
# Add testing deps for curl
RUN echo 'deb http://httpredir.debian.org/debian testing main non-free contrib' >> /etc/apt/sources.list