Skip to main content

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

Container DirectoryContainer ImageVersion
ansible-docker-ciquay.io/krestomatio/ansible-docker-ci0.5.6
ansible-operator-ciquay.io/krestomatio/ansible-operator-ci0.5.6
ansible-podman-ciquay.io/krestomatio/ansible-podman-ci0.5.6
ansiblequay.io/krestomatio/ansible0.5.6
centos:9-basequay.io/krestomatio/centos:9-base9.0.24
centos:9-minimalquay.io/krestomatio/centos:9-minimal9.0.24
go:1.21-toolsetquay.io/krestomatio/go:1.21-toolset1.21.6
httpd:2.4quay.io/krestomatio/httpd:2.42.4.41
keydb:6.3.4quay.io/krestomatio/keydb:6.3.46.3.4
moodle:4.1quay.io/krestomatio/moodle:4.14.1.9
moodle:4.1-bundlequay.io/krestomatio/moodle:4.1-bundle4.1.9
moodle:4.1-httpdquay.io/krestomatio/moodle:4.1-httpd4.1.9
moodle:4.1-kioquay.io/krestomatio/moodle:4.1-kio4.1.9
moodle:4.1-nginxquay.io/krestomatio/moodle:4.1-nginx4.1.9
moodle:4.1-nginx_php-fpmquay.io/krestomatio/moodle:4.1-nginx_php-fpm4.1.9
moodle:4.1-php-fpmquay.io/krestomatio/moodle:4.1-php-fpm4.1.9
nfs-ganesha:5.5.3quay.io/krestomatio/nfs-ganesha:5.5.35.5.3
nginx:1.20quay.io/krestomatio/nginx:1.201.20.41
nginx:1.20-php-fpmquay.io/krestomatio/nginx:1.20-php-fpm1.20.41
node:18-ciquay.io/krestomatio/node:18-ci18.0.25
node:18quay.io/krestomatio/node:1818.0.24
pgbouncerquay.io/krestomatio/pgbouncer0.5.6
php:8.0quay.io/krestomatio/php:8.08.0.41
postgres:13quay.io/krestomatio/postgres:1313.0.42
rocky:8-basequay.io/krestomatio/rocky:8-base8.9.1
rocky:8-minimalquay.io/krestomatio/rocky:8-minimal8.9.1
rocky:9-basequay.io/krestomatio/rocky:9-base9.3.1
rocky:9-minimalquay.io/krestomatio/rocky:9-minimal9.3.1

Project Requirements

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