Skip to content

Commit

Permalink
Silence git detached HEAD advice in build container
Browse files Browse the repository at this point in the history
Signed-off-by: Nolan Brubaker <[email protected]>
  • Loading branch information
Nolan Brubaker committed Oct 25, 2018
1 parent 21a2a2e commit b5a2ccd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit b5a2ccd

Please sign in to comment.