mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Merge pull request #633 from kelseyhightower/go1.3-build
Build binaries using Go 1.3
This commit is contained in:
commit
57b583e03d
@ -26,8 +26,11 @@ RUN apt-get update -y && apt-get install --no-install-recommends -y -q \
|
||||
rsync
|
||||
|
||||
# Install Go
|
||||
# TODO(jbeda) -- we need to verify this against the hash
|
||||
RUN curl -s https://storage.googleapis.com/golang/go1.2.2.src.tar.gz | tar -C /usr/local -xz
|
||||
# Save the SHA1 checksum from http://golang.org/dl
|
||||
RUN echo '9f9dfcbcb4fa126b2b66c0830dc733215f2f056e go1.3.src.tar.gz' > go1.3.src.tar.gz.sha1
|
||||
RUN curl -O -s https://storage.googleapis.com/golang/go1.3.src.tar.gz
|
||||
RUN sha1sum --check go1.3.src.tar.gz.sha1
|
||||
RUN tar -xzf go1.3.src.tar.gz -C /usr/local
|
||||
ENV PATH /usr/local/go/bin:$PATH
|
||||
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user