Open zskulcsar opened 6 years ago
Workaround would be using virtual environment and full sized requirements.txt to freeze the dependencies, like
ansible-container==0.9.2
backports.ssl-match-hostname==3.5.0.1
certifi==2018.1.18
chardet==3.0.4
colorama==0.3.9
docker==3.1.1
docker-pycreds==0.2.2
idna==2.6
ipaddress==1.0.19
Jinja2==2.10
MarkupSafe==1.0
PyYAML==3.12
requests==2.18.4
ruamel.ordereddict==0.4.13
ruamel.yaml==0.15.35
six==1.11.0
structlog==18.1.0
urllib3==1.22
websocket-client==0.47.0
And here is Makefile POC to accomplish virtualenv based build
https://github.com/softasap/sa-container-bootstrap/blob/master/box-example/alpine-36/Makefile
ISSUE TYPE
container.yml
OS / ENVIRONMENT
SUMMARY
When running
ansible-container build
command the command fails with an exception. When running with--debug
flag set, it executes without problem.STEPS TO REPRODUCE
EXPECTED RESULTS
code behaves the same irrespective to the
--debug
flag.ACTUAL RESULTS