Commit Graph

2 Commits (399f491fd7657df79bf1042518da444ba4095581)

Author SHA1 Message Date
Jérôme Petazzoni 6b14fe7747 Download and build Go 1.2 in the Dockerfile.
The dependency BurntSushi/toml actually needs Go 1.2, because it uses
encoding.TextUnmarshaler, which didn't exist in Go 1.1. Since the PPA
that we use doesn't have Go 1.2 yet, we will use the same method as
Docker, i.e. download Go source tarball and compile it.
2014-01-14 18:19:37 -08:00
Brandon Philips 70f2590127 feat(go_version): check go version at build time
```
$ ./build
can't load package: package github.com/coreos/etcd:
src/github.com/coreos/etcd/go_version.go:3:1: expected 'package', found
'STRING' "etcd requires go 1.1 or greater to build"
```
2013-08-16 15:14:19 -07:00