use gnu-cp in building etcd image

pull/6/head
Di Xu 2017-11-27 11:19:05 +08:00
parent e7ad6e6008
commit 4d1319d111
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ endif
build:
# Copy the content in this dir to the temp dir,
# without copying the subdirectories.
find ./ -maxdepth 1 -type f | xargs cp -t $(TEMP_DIR)
find ./ -maxdepth 1 -type f | xargs -I {} cp {} $(TEMP_DIR)
# Compile attachlease
docker run -i -v $(shell pwd)/../../../:/go/src/k8s.io/kubernetes -v $(TEMP_DIR):/build -e GOARCH=$(ARCH) golang:$(GOLANG_VERSION) \