mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-03 11:45:20 +00:00
Merge pull request #996 from nrb/silence-builder-git-advice
Silence git detached HEAD advice in build container
This commit is contained in:
@@ -17,6 +17,7 @@ FROM golang:1.10-alpine3.8
|
||||
RUN apk add --update --no-cache git bash && \
|
||||
mkdir -p /go/src/k8s.io && \
|
||||
cd /go/src/k8s.io && \
|
||||
git config --global advice.detachedHead false && \
|
||||
git clone -b kubernetes-1.11.0 https://github.com/kubernetes/code-generator && \
|
||||
git clone -b kubernetes-1.11.0 https://github.com/kubernetes/apimachinery && \
|
||||
go get golang.org/x/tools/cmd/goimports && \
|
||||
|
||||
Reference in New Issue
Block a user