mirror of
https://github.com/rancher/os.git
synced 2025-09-15 14:40:51 +00:00
Temporary fix build failure
The gotools cannot support the current golang version. I temporarily roll back to a suitable version so that it does not affect other developments.
This commit is contained in:
@@ -145,7 +145,10 @@ RUN curl -pfL ${SELINUX_POLICY_URL} > ${DOWNLOADS}/$(basename ${SELINUX_POLICY_U
|
||||
|
||||
# Install Go
|
||||
RUN wget -O - https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GOARCH}.tar.gz | tar -xzf - -C /usr/local && \
|
||||
go get github.com/rancher/trash && go get golang.org/x/lint/golint
|
||||
go get github.com/rancher/trash
|
||||
|
||||
RUN mkdir -p ${GOPATH}/src/golang.org/x && cd ${GOPATH}/src/golang.org/x/ && git clone https://github.com/golang/tools && \
|
||||
cd tools && git checkout 6adeb8aab2ded9eb693b831d5fd090c10a6ebdfa -b temp && go get golang.org/x/lint/golint
|
||||
|
||||
# Install Host Docker
|
||||
RUN curl -fL ${!BUILD_DOCKER_URL} > /usr/bin/docker && \
|
||||
|
Reference in New Issue
Block a user