Browse code

Dockerfile: bump Go to 1.5

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>

unclejack authored on 2015/08/20 04:16:20
Showing 1 changed files
... ...
@@ -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