$ ansible-container --debug version
Ansible Container, version 0.9.3rc0
Linux, ubuntu, 4.4.0-101-generic, #124-Ubuntu SMP Fri Nov 10 18:29:59 UTC 2017, x86_64
2.7.12 (default, Nov 20 2017, 18:23:56)
[GCC 5.4.0 20160609] /home/ubuntu/ansible-container/bin/python2
using virtualenv, ansible-container installed from github repo checkout from 2017-12-13
also confirmed with current pip-installed ansible-container version (0.9.2?)
SUMMARY
ansible-container import does not support import of Dockerfile with ENV statements that use format "NAME=value"
Workaround: use "NAME value"
STEPS TO REPRODUCE
Use a Dockerfile with ENV command that uses equals format, e.g.
In the future, the actual stack trace is far more helpful than ..., particularly when the error is a generic Python error. More output is far more helpful than less.
ISSUE TYPE
container.yml
not applicable
OS / ENVIRONMENT
using virtualenv, ansible-container installed from github repo checkout from 2017-12-13 also confirmed with current pip-installed ansible-container version (0.9.2?)
SUMMARY
ansible-container import does not support import of Dockerfile with ENV statements that use format "NAME=value" Workaround: use "NAME value"
STEPS TO REPRODUCE
Use a Dockerfile with ENV command that uses equals format, e.g.
Then attempt ansible-container import .
EXPECTED RESULTS
Expect import to succeed.
ACTUAL RESULTS