Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
| ... | ... |
@@ -83,7 +83,11 @@ RUN cd /usr/src/lxc \ |
| 83 | 83 |
&& ldconfig |
| 84 | 84 |
|
| 85 | 85 |
# Install Go |
| 86 |
-ENV GO_VERSION 1.4.3 |
|
| 86 |
+ENV GO_VERSION 1.5.1 |
|
| 87 |
+RUN curl -sSL https://golang.org/dl/go1.4.3.src.tar.gz | tar -v -C /usr/local -xz \ |
|
| 88 |
+ && cd /usr/local/ && mv go go1.4.3 |
|
| 89 |
+RUN cd /usr/local/go1.4.3/src/ && ./make.bash |
|
| 90 |
+ENV GOROOT_BOOTSTRAP /usr/local/go1.4.3 |
|
| 87 | 91 |
RUN curl -sSL https://golang.org/dl/go${GO_VERSION}.src.tar.gz | tar -v -C /usr/local -xz \
|
| 88 | 92 |
&& mkdir -p /go/bin |
| 89 | 93 |
ENV PATH /go/bin:/usr/local/go/bin:$PATH |