mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Update to Go v1.2.1
This commit is contained in:
parent
215ff2839d
commit
1b78cc1389
@ -2,7 +2,7 @@ FROM ubuntu:12.04
|
|||||||
# Let's install go just like Docker (from source).
|
# Let's install go just like Docker (from source).
|
||||||
RUN apt-get update -q
|
RUN apt-get update -q
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -qy build-essential curl git
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -qy build-essential curl git
|
||||||
RUN curl -s https://go.googlecode.com/files/go1.2.src.tar.gz | tar -v -C /usr/local -xz
|
RUN curl -s https://go.googlecode.com/files/go1.2.1.src.tar.gz | tar -v -C /usr/local -xz
|
||||||
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
|
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
|
||||||
ENV PATH /usr/local/go/bin:$PATH
|
ENV PATH /usr/local/go/bin:$PATH
|
||||||
ADD . /opt/etcd
|
ADD . /opt/etcd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user