Describe the bug
Running GOOS=linux make docker fails while building kubectl container image, with the following error:
time (mkdir -p /Users/tmoreira/Projects/go/out/linux_amd64/release/docker_build/docker.kubectl && cp -r docker/Dockerfile.kubectl /Users/tmoreira/Projects/go/bin/kubectl /Users/tmoreira/Projects/go/out/linux_amd64/release/docker_build/docker.kubectl && cd /Users/tmoreira/Projects/go/out/linux_amd64/release/docker_build/docker.kubectl && docker build -t kind/kubectl:e2e -f Dockerfile.kubectl .)
cp: cannot stat '/Users/tmoreira/Projects/go/bin/kubectl': No such file or directory
real 0m0.009s
user 0m0.003s
sys 0m0.003s
make: *** [docker.kubectl] Error 1
Expected behavior
docker.kubectl is within the DOCKER_TARGETS, I should be able to have the container image built successfully.
Steps to reproduce the bug
- build docker images:
GOOS=linux make docker HUB=kind TAG=e2e
Version
n/a
Installation
n/a
Environment
MacOS 10.14.4 / istio master branch
Cluster state
n/a
Describe the bug
Running
GOOS=linux make dockerfails while building kubectl container image, with the following error:Expected behavior
docker.kubectlis within the DOCKER_TARGETS, I should be able to have the container image built successfully.Steps to reproduce the bug
GOOS=linux make docker HUB=kind TAG=e2eVersion
n/a
Installation
n/a
Environment
MacOS 10.14.4 / istio master branch
Cluster state
n/a