1
0
mirror of https://github.com/rancher/types.git synced 2025-09-17 23:38:20 +00:00

Update build scripts

This commit is contained in:
Darren Shepherd
2017-11-10 22:21:55 -07:00
parent bef3d21dd7
commit 94e948c27d
5 changed files with 11 additions and 27 deletions

View File

@@ -12,7 +12,9 @@ ENV GOLANG_ARCH_amd64=amd64 GOLANG_ARCH_arm=armv6l GOLANG_ARCH=GOLANG_ARCH_${ARC
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 && \
go get github.com/rancher/trash && go get github.com/golang/lint/golint
go get github.com/rancher/trash && \
go get github.com/golang/lint/golint && \
go get golang.org/x/tools/cmd/goimports
ENV DOCKER_URL_amd64=https://get.docker.com/builds/Linux/x86_64/docker-1.10.3 \
DOCKER_URL_arm=https://github.com/rancher/docker/releases/download/v1.10.3-ros1/docker-1.10.3_arm \