There appear to be a couple of related issues here. 1) stdin seems to be closed, at least when building a docker image, and running dcli_install as part of the build.