mirror of
https://github.com/rancher/types.git
synced 2025-08-28 00:30:31 +00:00
update golang to 1.9
This commit is contained in:
parent
b58a0c7f19
commit
95c28dd0dc
@ -11,7 +11,7 @@ RUN apt-get update && \
|
||||
ENV GOLANG_ARCH_amd64=amd64 GOLANG_ARCH_arm=armv6l GOLANG_ARCH=GOLANG_ARCH_${ARCH} \
|
||||
GOPATH=/go PATH=/go/bin:/usr/local/go/bin:${PATH} SHELL=/bin/bash
|
||||
|
||||
RUN wget -O - https://storage.googleapis.com/golang/go1.8.3.linux-${!GOLANG_ARCH}.tar.gz | tar -xzf - -C /usr/local && \
|
||||
RUN wget -O - https://storage.googleapis.com/golang/go1.9.linux-${!GOLANG_ARCH}.tar.gz | tar -xzf - -C /usr/local && \
|
||||
go get github.com/rancher/trash && \
|
||||
go get github.com/golang/lint/golint && \
|
||||
go get golang.org/x/tools/cmd/goimports
|
||||
|
Loading…
Reference in New Issue
Block a user