Dockerfile: bump Go to 1.5

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
This commit is contained in:
unclejack 2015-08-19 22:16:20 +03:00 committed by Jessica Frazelle
parent b6fa541877
commit 42dcc4f3b5
No known key found for this signature in database
GPG key ID: 18F3685C0022BFF3

View file

@ -83,7 +83,11 @@ RUN cd /usr/src/lxc \
&& ldconfig
# Install Go
ENV GO_VERSION 1.4.3
ENV GO_VERSION 1.5.1
RUN curl -sSL https://golang.org/dl/go1.4.3.src.tar.gz | tar -v -C /usr/local -xz \
&& cd /usr/local/ && mv go go1.4.3
RUN cd /usr/local/go1.4.3/src/ && ./make.bash
ENV GOROOT_BOOTSTRAP /usr/local/go1.4.3
RUN curl -sSL https://golang.org/dl/go${GO_VERSION}.src.tar.gz | tar -v -C /usr/local -xz \
&& mkdir -p /go/bin
ENV PATH /go/bin:/usr/local/go/bin:$PATH