Open cluosh opened 6 years ago
Yep, this is definitely an issue and it's preventing us from deploying containers based on ubuntu bionic images, both phusion and ubuntu minimal
For develop - images are already published.
In addition, as a temporary measure, recent develop is published as sa-ansible-container
package.
https://pypi.org/project/sa-ansible-container/
See https://github.com/ansible/ansible-container/issues/965 for context.
I'm not entirely certain how to use this workaround. Can actually ubuntu:18.04 be added to supported container bases? It can't be such a niche need, since this is the current ubuntu LTS.
How to get 18:04 to supported container bases? a) Contact someone from pypi maintainers https://pypi.org/project/ansible-container/ , @j00bar or @ryansb and ask them to complete official release for 0.9.3
b) use workaround, and build your own conductor images
Example of usage, in scope of PR
https://github.com/ansible/ansible-container/pull/966
included into pip install sa-ansible-container
ISSUE TYPE
container.yml
OS / ENVIRONMENT
SUMMARY
Ubuntu Bionic cannot be used as conductor base despite there being an image on dockerhub. It is not listed in PREBAKED_DISTROS in container/docker/engine.py:
In
_prepare_conductor_manifest
theansible/
is only prepended, if the the tag is found in PREBAKED_DISTROS, making it impossible to pull the official prebaked Ubuntu Bionic image.STEPS TO REPRODUCE
EXPECTED RESULTS
Since the image is on dockerhub, I expected it to build.
ACTUAL RESULTS