Signed-off-by: Ken Cochrane <kencochrane@gmail.com>
(cherry picked from commit 09ca4dd32232cdbbe04628e5647922002d9df175)
... | ... |
@@ -71,13 +71,11 @@ RUN cd /usr/local/lvm2 \ |
71 | 71 |
&& make install_device-mapper |
72 | 72 |
# see https://git.fedorahosted.org/cgit/lvm2.git/tree/INSTALL |
73 | 73 |
|
74 |
-# TODO install Go, using gccgo as GOROOT_BOOTSTRAP (Go 1.5+ supports ppc64le properly) |
|
75 |
-# possibly a ppc64le/golang image? |
|
76 |
- |
|
77 |
-## BUILD GOLANG |
|
78 |
-ENV GO_VERSION 1.5.4 |
|
74 |
+## BUILD GOLANG 1.6 |
|
75 |
+# NOTE: ppc64le has compatibility issues with older versions of go, so make sure the version >= 1.6 |
|
76 |
+ENV GO_VERSION 1.6.2 |
|
79 | 77 |
ENV GO_DOWNLOAD_URL https://golang.org/dl/go${GO_VERSION}.src.tar.gz |
80 |
-ENV GO_DOWNLOAD_SHA256 002acabce7ddc140d0d55891f9d4fcfbdd806b9332fb8b110c91bc91afb0bc93 |
|
78 |
+ENV GO_DOWNLOAD_SHA256 787b0b750d037016a30c6ed05a8a70a91b2e9db4bd9b1a2453aa502a63f1bccc |
|
81 | 79 |
ENV GOROOT_BOOTSTRAP /usr/local |
82 | 80 |
|
83 | 81 |
RUN curl -fsSL "$GO_DOWNLOAD_URL" -o golang.tar.gz \ |