1
0
mirror of https://github.com/docker/cli.git synced 2026-01-16 20:22:36 +03:00

Merge pull request #598 from unclejack/build-docker-with-go1.1

* Dockerbuilder - build docker using Go 1.1
Upstream-commit: d586662ce5d53cf731fcc94216e59d8381f109c4
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-05-13 15:20:13 -07:00

View File

@@ -6,7 +6,7 @@ run apt-get update
run DEBIAN_FRONTEND=noninteractive apt-get install -y -q s3cmd
run DEBIAN_FRONTEND=noninteractive apt-get install -y -q curl
# Packages required to checkout and build docker
run curl -s -o /go.tar.gz https://go.googlecode.com/files/go1.0.3.linux-amd64.tar.gz
run curl -s -o /go.tar.gz https://go.googlecode.com/files/go1.1.linux-amd64.tar.gz
run tar -C /usr/local -xzf /go.tar.gz
run echo "export PATH=$PATH:/usr/local/go/bin" > /.bashrc
run echo "export PATH=$PATH:/usr/local/go/bin" > /.bash_profile