You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could also add a check to the Makefile that warns if it's not being run from an expected environment. Maybe docker.Makefile (and the future ./build.sh) could set DOCKER_CLI_THIS_IS_FINE=1. Anyone who has setup their host can export that as well to remove the warning.
Then in Makefile if the environment variable isn't set we can warn "you probably want ./build.sh"
This has been partially fixed by removing the "develop on the host" instructions from the README. We also have #99 to track other related improvements. #107 introduces the script I suggested here.
Going to close this issue since we have another tracking issue.
Activity
thaJeztah commentedon May 16, 2017
What exact command did you run?
make binaryor justmake?dave-tucker commentedon May 16, 2017
just
makednephin commentedon May 16, 2017
I believe I fixed this in #78 , are you on latest master?
Edit: actually I fixed it for alpine, but not for "host" development. I dont' think we can support developing on the host.
This is unfortunate, but that's how bash decides to error out on undefined variables with
set -u.dnephin commentedon May 16, 2017
This was discussed in #78 as well: #78 (comment)
I think we'll look at replacing
docker.Makefilewith a./build.shfor nowdave-tucker commentedon May 16, 2017
Yes I'm on latest master. Both
makeandmake binaryinsta-fail on OSX.thaJeztah commentedon May 16, 2017
Oh, 🤦 this is the docker/cli repo, ignore me
dnephin commentedon May 16, 2017
We could also add a check to the
Makefilethat warns if it's not being run from an expected environment. Maybedocker.Makefile(and the future./build.sh) could setDOCKER_CLI_THIS_IS_FINE=1. Anyone who has setup their host can export that as well to remove the warning.Then in
Makefileif the environment variable isn't set we can warn "you probably want./build.sh"dnephin commentedon Jun 1, 2017
This has been partially fixed by removing the "develop on the host" instructions from the README. We also have #99 to track other related improvements. #107 introduces the script I suggested here.
Going to close this issue since we have another tracking issue.
Merge pull request docker#94 from andrewhsu/fix-grpc