Container Image Builder
This project builds containers using Ansible. The containers are defined as hosts in the Ansible inventory. They are generated using host and group variables, templates and local connection.
Container Build Info
Project Requirements
- ansible-core >= 2.15
- docker or podman
- python docker
- buildx
- see requirements.txt
- see requirements.yml
Building Containers with Ansible Playbook
ansible-playbook .ansible-ci/build.yml
Project Directory Structure
├── .ansible-ci # ansible tasks to build and release container images
├── .lighthouse # jenkins-x pipelines
└── */ # directories where generated container contexts are saved
Contributing to the Project
- Context and dockerfile templates are inside each container's directory. Some contexts and templates are reused by more than one container. Their respective variables generate different contexts in each container generated directory
- Variables can be changed inside the inventory dir
- Please modify or update only templated context or the inventory