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
1 changed files with 5 additions and 1 deletions

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