1
0
mirror of https://github.com/rancher/os.git synced 2025-07-15 07:41:39 +00:00

Fix build error caused by golint

This commit is contained in:
niusmallnan 2018-10-12 11:33:04 +08:00
parent db795bbfc2
commit c04293f6dd

View File

@ -133,7 +133,7 @@ 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 github.com/golang/lint/golint
go get github.com/rancher/trash && go get golang.org/x/lint/golint
# Install Host Docker
RUN curl -fL ${!BUILD_DOCKER_URL} > /usr/bin/docker && \