1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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